![]() There, we also set the previous and next buttons Enabled property to false. If you’ve taken a look at the blocks snapshot below, we have set the HomeUrl on the blocks editor under Screen1.Initialize event. We can set the HomeUrl either on the viewer/designer window or on the blocks editor. We will also have previous and next buttons to navigate through pages. ![]() ![]() ![]() For our sample app, we will have a text box where a user can specify a URL and press Go button to load the webpage. Note that including a network protocol such as http or https is important, otherwise, the webpage won’t load. To do that, we can just drag the WebViewer component to Screen1 window and set the HomeUrl property of the WebViewer to the webpage we want to view when the app boots up. We can load a webpage/website into an app using WebViewer component. App Inventor has a component called WebViewer.
0 Comments
Leave a Reply. |