I am at last migrating the Help on my applications to the user's browser, fed up with the restrictions on networked drives for CHM files. I would like to know whether it is possible by default to open one and the same browser window/tab, not have Firefox constantly be opening new ones,
To do it I am using Delphi XE and basing my strategy on ShellExecute in Windows:
ShellExecuteW(handle, 'OPEN', pwidechar(Filename),'', '', sw_shownormal)
and overriding Application.OnHelp to use that ShellExecuteW call.
I suppose the browser always opening up new windows/tabs may be a user setting which my programs cannot alter (and should not try). Is that right?
Any help gratefully received!
Mike
opening new browser tab for every Help click
Moderators: Alexander Halser, Michael Schwarzl
- Mike Scott
- Posts: 101
- Joined: Wed Jul 27, 2005 10:32 pm
- Location: Stroud
- Contact:
opening new browser tab for every Help click
Mike Scott
- Tim Green
- Site Admin
- Posts: 23181
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: opening new browser tab for every Help click
Hi Mike,
That's correct. Tab behavior is user-controlled and experienced users are always angry if you try to change their settings. Inexperienced users don't notice but unfortunately JavaScript's onUserExperience event doesn't fire very accurately on most browsers yet...I suppose the browser always opening up new windows/tabs may be a user setting which my programs cannot alter (and should not try). Is that right?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.