Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling IE 'Refresh' button

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I'm working with Delphi creating ActiveX components for use inside 'Internet Explorer'.
I'm able to do with this some success, accessing data, generating reports, etc. However I seem to have hit a stumbling block.
Currently when the ActiveX control is seen inside the web browser, when the user clicks the 'Refresh' button the page gets reloaded and the ActiveX component resets itself to display as first shown (button captions reset, etc).
Is there a way of disabling the 'Refresh' button to prevent this from happening ?
Could I do this as part of the HTML page ?
Thanks for any pointers in advance.
Steve
 
StevenK

This MAY be of some use to you...in HTML

location.replace('nextpage.html')

nextpage.html will then be placed in the current position of the browser
history.

courtesy Thor Larholm MSNewsgroups


smitee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top