Page 1 of 1
F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 10:24 am
by Otto
Hello,
I want to change my helpfile system to HTML.
How can I call from "F1" a specified web page?
Thank you in advance
Otto
DEFINE BUTTON FILE ".\bitmaps2\P2.bmp" OF oBar ;
ACTION ;
TOOLTIP { || SetHelpFile("test"), WndMain():nHelpID := "test" , cToolTip := {DIREKTHILFE,"text" } };
PROMPT "Z-Plan"
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 12:18 pm
by wartiaga
Otto wrote:Hello,
I want to change my helpfile system to HTML.
How can I call from "F1" a specified web page?
Thank you in advance
Otto
DEFINE BUTTON FILE ".\bitmaps2\P2.bmp" OF oBar ;
ACTION ;
TOOLTIP { || SetHelpFile("test"), WndMain():nHelpID := "test" , cToolTip := {DIREKTHILFE,"text" } };
PROMPT "Z-Plan"
Otto try command SET KEY F1 TO YourFunction()
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 12:36 pm
by karinha
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 1:06 pm
by ukoenig
Otto,
F1 should open HTML file on internet
How can I call from "F1" a specified web page?
F1 is looking for a helpfile ( help32.prg )
can You use F2 or another key ?
This line opens this post ( or any other website / page ) from inside Your program with F2
SetKey( VK_F2, { | nKey | ShellExecute( oDlg:hWnd, 'Open', "http://forums.fivetechsupport.com/viewt ... =3&t=38422" ) } )
regards
Uwe