Results 1 to 3 of 3

Thread: TWebBrowser, Troubles

  1. #1
    Join Date
    Jul 2010
    Posts
    37

    TWebBrowser, Troubles

    Well. I am studying Delphi and I got some mistakes for today. See the attachments for more details.

    Basically, I do follow the tutorial how I can create simple browser, but there is still a trouble.

    I seems like there are different command. Please, help me.
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2007
    Posts
    2,291

    Re: TWebBrowser, Troubles

    Below are some coding. Here are the buttons:

    Code:
    procedure TForm1.Button1Click(Sender: TObject);
    begin
      browser.Stop; //This will stop the browser
    end;
    
    procedure TForm1.Button2Click(Sender: TObject);
    begin
      browser.Update; //This will Update the browser
    end;
    
    procedure TForm1.Button3Click(Sender: TObject);
    begin
      browser.GoForward; //This will go Forward
    end;
    
    procedure TForm1.Button4Click(Sender: TObject);
    begin
      browser.GoBack; //This will GoBack in the browser
    end;
    
    procedure TForm1.Button5Click(Sender: TObject);
    begin
      browser.GoHome; //This will go Home
    end;
    
    procedure TForm1.Button6Click(Sender: TObject);
    begin
      browser.Navigate(box.Text); //this will go to the website that is written in the editbox!
    end;
    This is a very very simple browser and you can also download the sample from if you search it on google.

  3. #3
    Join Date
    Jul 2010
    Posts
    37

    Re: TWebBrowser, Troubles

    It's fine, I figured out the problem.

Similar Threads

  1. Delphi, TWebBrowser & Java Scripts.
    By alex198555 in forum Software Development
    Replies: 1
    Last Post: 28-07-2010, 11:23 AM
  2. TWebBrowser Autopost help needed
    By alex198555 in forum Software Development
    Replies: 11
    Last Post: 27-07-2010, 11:01 PM
  3. TWebBrowser Auto Resize?
    By alex198555 in forum Software Development
    Replies: 1
    Last Post: 27-07-2010, 09:42 AM
  4. Delphi, TWebBrowser, Disable Scrollbars???
    By alex198555 in forum Software Development
    Replies: 4
    Last Post: 26-07-2010, 11:02 PM
  5. Delphi, TWebBrowser, Auto-Refresh???
    By alex198555 in forum Software Development
    Replies: 3
    Last Post: 22-07-2010, 10:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,592,351.97089 seconds with 17 queries