![]() |
![]() |
![]() |
![]() |
Stopping TWebBrowser Errors On GoBack And GoForward Comments With TWebBrowser's GoBack and GoForward, an 'unspecified error' will be thrown if there is no backward or forward history to which to navigate. This simple solution uses TWebBrowser's CommandStateChange event to grab the history flags in a case statement, enabling the back and forward buttons only when appropriate. Remember to set the enabled state to false on the buttons, initially! . |
![]() |