View previous topic :: View next topic |
Author |
Message |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Thu Jun 21, 2007 6:08 am Post subject: Making "Stop" , "Refresh" , "Startp |
|
|
in your webbrowser. anyone knows how to do this?
|
|
Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Thu Jun 21, 2007 7:09 am Post subject: |
|
|
WebBrowser1.Stop;
WebBrowser1.Refresh;
when u say startp u mean homepage? If so, just navigate to some site in Form1.Create or something..
|
|
Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Thu Jun 21, 2007 7:10 am Post subject: |
|
|
i gave you a pm. please answer it (maybe +rep for you)
|
|
Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Thu Jun 21, 2007 9:15 am Post subject: |
|
|
Don't you have intellisense?
_________________
|
|
Back to top |
|
 |
compactwater I post too much
Reputation: 8
Joined: 02 Aug 2006 Posts: 3923
|
Posted: Thu Jun 21, 2007 12:50 pm Post subject: |
|
|
Code: | WebBrowser1.GoHome; //Goto current home-page.
WebBrowser1.GoBack; //Go back one page.
WebBrowser1.GoForward; //Go forward one page.
WebBrowser1.Navigate('www.website.com'); //Navigate to a page.
WebBrowser1.Navigate(Edit1.Text); //Navigate to the page in an edit box.
WebBrowser1.Refresh; //Refresh the page.
WebBrowser1.Stop; //Stop loading the page.
WebBrowser1.SetFocus; //Something I like to set on a timer, not required. |
Hope that helps!
|
|
Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jun 21, 2007 3:34 pm Post subject: |
|
|
compact, are those procedures you would have to make are are those actual commands?
_________________
8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Thu Jun 21, 2007 3:37 pm Post subject: |
|
|
They already exist.
|
|
Back to top |
|
 |
ravicus Master Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 464
|
Posted: Thu Jun 21, 2007 4:16 pm Post subject: |
|
|
Yes, they do exactly what the comments say they will, just put them in.
_________________
|
|
Back to top |
|
 |
TheIndianGuy Advanced Cheater
Reputation: 102
Joined: 14 Jan 2007 Posts: 88
|
Posted: Sat Jun 23, 2007 10:28 am Post subject: |
|
|
very easy but which language are you talking about?
in vb its very simple so if you make a new web browser you make a button and you can call it whatever doesnt matter so
blah blah button1 blah blah (blah blah) blah blah
WebBrowser1.Stop (when clicking button1 it stops 'WebBrowser1')
End Sub
blah blah button2 blah blah
WebBrowser1.Refresh (when clicking buttong2 it refreshes page of 'WebBroser1')
End Sub
very simple
|
|
Back to top |
|
 |
compactwater I post too much
Reputation: 8
Joined: 02 Aug 2006 Posts: 3923
|
Posted: Sat Jun 23, 2007 1:07 pm Post subject: |
|
|
But Pascal > VB. And it always will be.
|
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 23, 2007 1:44 pm Post subject: |
|
|
skate4lifee wrote: | very simple  |
It's almost exactly the same in Delphi.
|
|
Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Jun 23, 2007 2:02 pm Post subject: |
|
|
@ compact
All of those said WebBroswer1. But is that actually something you can put on, because I searched through delphi personal and it doesn't have it.
@ everyone
You know the refresh,stop,home,back,forward buttons, how do you make it so it displays pictures and not just what you named it...
_________________
8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sat Jun 23, 2007 4:20 pm Post subject: |
|
|
just use panels or pictures. then double click on it and you got basicly the same function.
|
|
Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Jun 23, 2007 7:57 pm Post subject: |
|
|
Write, my bad. But still where do I get WebBrower1, or do I just make an edit box and stuff...
_________________
8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 23, 2007 8:28 pm Post subject: |
|
|
What you all having trouble on? It's in the Internet tab.
Make a button and an edit box. Click button.
WebBrowser1.Navigate(Edit1.Text);
Couldn't be any easier.
|
|
Back to top |
|
 |
|