F1 should open HTML file on internet

F1 should open HTML file on internet

Postby Otto » 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"
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: F1 should open HTML file on internet

Postby wartiaga » 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()
wartiaga
 
Posts: 212
Joined: Wed May 25, 2016 1:04 am

Re: F1 should open HTML file on internet

Postby karinha » Fri Jan 31, 2020 12:36 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7811
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: F1 should open HTML file on internet

Postby ukoenig » Fri Jan 31, 2020 1: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 :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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 78 guests