PDA

View Full Version : Web.LoadURL Through Global Functions


mikez
06-15-2007, 07:04 PM
Hello Again.

While i was messing with Web.LoadURL, i noticed that it is not possible (at least the way i make it) to load a URL when the application starts.

So what i want to do is to load a url on web object named "Web1" on startup of my application, without the need to press a button.

I tried to mess a bit with the On Startup event buy with no luck.
Any help is greatly appreciated.

Kind Regards,
Mikez

Dermot
06-15-2007, 08:31 PM
Put it in the OnShow event of the page that has the web object.

Intrigued
06-15-2007, 10:53 PM
Simple to do:

1. create a new Blank Project
2. add a Web object onto the Page
3. type in a URL in the New Web Object that is shown (ie. http://www.amsuser.com)
4. click the OK button for the dialog
5. click the F5 (Preview) key on the keyboard to Preview the application

mikez
06-16-2007, 08:59 AM
Simple to do:

1. create a new Blank Project
2. add a Web object onto the Page
3. type in a URL in the New Web Object that is shown (ie. http://www.amsuser.com)
4. click the OK button for the dialog
5. click the F5 (Preview) key on the keyboard to Preview the application

Thanks both of you>
Intrigued, i know about that.
But what i wanted is the On Show Event that actually solved my problems.

Thanks again.

Intrigued
06-17-2007, 08:54 PM
No problem. It's good having, more than one way to do it, options.