F1 should open HTML file on internet

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

F1 should open HTML file on internet

Post 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"
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
wartiaga
Posts: 83
Joined: Wed May 25, 2016 1:04 am

Re: F1 should open HTML file on internet

Post 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()
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: F1 should open HTML file on internet

Post by karinha »

http://forums.fivetechsupport.com/viewt ... le#p167778

Code: Select all

\samples\testhelp.prg
\samples\testhlp2.prg
 
João Santos - São Paulo - Brasil
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: F1 should open HTML file on internet

Post 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 :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
Post Reply