FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour F1 should open HTML file on internet
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 10:24 AM

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"

Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 12:18 PM
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()
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 12:36 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: F1 should open HTML file on internet
Posted: Fri Jan 31, 2020 01:06 PM
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/viewtopic.php?f=3&t=38422" ) } )

regards
Uwe :-)
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.

Continue the discussion