Re: How do i name an error?

[ Delphi Forum -- by DelphiLand ]

Posted by WAllison on October 27, 2003 at 21:19:12:

In Reply to: How do i name an error? posted by Joey on October 19, 2003 at 21:42:26:

: I have a problem that when i press back on my browser and theres no page there it brings up "Unspecified Error" how can i name this error?? so it says something like no page exists or get rid of it completly and just for it not to show?

ive had a look at TWebBrowser - try this - substitute TBBack/TBForward etc

procedure TMainForm.WebBrowser1CommandStateChange(Sender: TObject;
Command: Integer; Enable: WordBool);
If Command = CSC_NAVIGATEBACK then TBBack.Enabled := Enable;
If Command = CSC_NAVIGATEFORWARD then TBForward.Enabled := Enable;


Related Articles and Replies:

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]