B4J Question [SOLVED] B4XDialog, Webview, not show HTML Text

mw71

Active Member
Licensed User
Longtime User
Hello,

I have a SQL file with "News". Reading and converting to HTML works, displaying in WebView does not.

Test project is attached.

After starting the app and loading the main page, the sub calls ShowNews in the ServiceModule.
This calls msgbox_html, which displays the dialog with the webview.
 

Attachments

  • Project.zip
    125.9 KB · Views: 134
Last edited:

Lucas Siqueira

Active Member
Licensed User
Longtime User
Hello,

I have a SQL file with "News". Reading and converting to HTML works, displaying in WebView does not.

Test project is attached.

After starting the app and loading the main page, the sub calls ShowNews in the ServiceModule.
This calls msgbox_html, which displays the dialog with the webview.



Comment the line
'WebView1.Initialize ("WebMsg")

the components created in the designer are started when the layout is loaded. ex: loadlayout ("webview") ...
 
Upvote 0
Top