|
-
Sep 15th, 2003, 09:46 PM
#1
Thread Starter
New Member
Need Help With Makin Web Browser
U all probably think that this is an easy thing to do:
Can someone plz tell me the codes for the back, forward, refresh, stop, and home buttons
i just want them to be normal buttons like command_click1 or wutever plz help as soon as possible!
-
Sep 16th, 2003, 09:12 AM
#2
Junior Member
just use WebBrowser1.goBack and WebBrowser1.goForward under your click() procedures
-=ToasT=-
http://www.themikedionnes.com
http://www.battlelust.tk

-
Sep 17th, 2003, 09:04 PM
#3
Thread Starter
New Member
Doesnt work
It says Variable not defined when i do that could u give me a whole example of the click () code
-
Sep 21st, 2003, 04:25 PM
#4
Frenzied Member
ooh, my first post
The code you're looking for is:
Private Sub Command3_Click()
WebBrowser1.GoBack
End Sub
Private Sub Command4_Click()
WebBrowser1.GoForward
End Sub
I'm trying to do the same thing. Now I have another problem. if the user clicks back when there is no more history or clicks fowards when there nothing there it throws up an error. I thought this could be fixed like this:
I have a hidden textfield which has how many pages are before the current one and another hidden textfield containing the number of pages ahead of this one. If on of the is zero, then dissable the appropriate button. I don't know how do this though. Could someone please help me out.
- - - -
Never mind figured it out.
Last edited by Acidic; Sep 21st, 2003 at 05:08 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|