Page 21 of 21

Re: HMG 3.4.4

Posted: Sun Jun 28, 2020 5:02 pm
by franco
Actually, everything you touch on the screen is like a mouse click.

Re: HMG 3.4.4

Posted: Sun Apr 11, 2021 7:42 pm
by mol
Can somebody integrate new gcc 10.3 and hb 3.2 compiled with this one to the new version of hmg?

Re: HMG 3.4.4

Posted: Mon Apr 12, 2021 7:24 pm
by apais
Someone is actually only ONE person.
HMG is in practice Locked Out.

Re: HMG 3.4.4

Posted: Mon Apr 12, 2021 8:02 pm
by serge_girard
Sadly, yes

Re: HMG 3.4.4

Posted: Tue Apr 13, 2021 8:00 am
by bpd2000
apais wrote: Mon Apr 12, 2021 7:24 pm Someone is actually only ONE person.
HMG is in practice Locked Out.
Is there any other solution
Dummy HMG ?
Unofficial HMG

Re: HMG 3.4.4

Posted: Tue Apr 13, 2021 8:10 am
by mol
It's a pity there is no way to develop official HMG. It's not needed to create another fork

Re: HMG 3.4.4

Posted: Mon Dec 18, 2023 6:44 pm
by mol
I've placed hyperlink control in my form.
It's address starts with "https" protocol.
And the problem is that my application starts mail application not internet browser.
When I change "https" to "http", default browser is correctly opened.
The problem is that I need https address...
How to solve it?

Re: HMG 3.4.4

Posted: Tue Dec 19, 2023 7:01 am
by mol
My solution for now is label with action RunHttpsLink("https://molsystemy.pl")
where function RunHttpsLink is defined like below:

Code: Select all

Function RunHttpsLink(cAddress)
Execute file cAddress
Return

Re: HMG 3.4.4

Posted: Tue Dec 19, 2023 9:59 am
by edk
mol wrote: Mon Dec 18, 2023 6:44 pm I've placed hyperlink control in my form.
It's address starts with "https" protocol.
And the problem is that my application starts mail application not internet browser.
When I change "https" to "http", default browser is correctly opened.
The problem is that I need https address...
How to solve it?
Zmień w h_label.prg w funkcji _DefineLabel wiersz:

Code: Select all

	_HMG_SYSDATA [  6 ]  [k] :=  if ( valtype ( ProcedureName ) = 'C' , if ( HMG_LOWER ( HB_ULEFT ( ProcedureName , 7 ) ) == 'http://' , {||ShellExecute(0, "open", "rundll32.exe", "url.dll,FileProtocolHandler " + ProcedureName , ,1)} , {||ShellExecute(0, "open", "rundll32.exe", "url.dll,FileProtocolHandler mailto:" + ProcedureName , ,1)} ) , ProcedureName )
na

Code: Select all

	_HMG_SYSDATA [  6 ]  [k] :=  if ( valtype ( ProcedureName ) = 'C' , if ( HMG_LOWER ( HB_ULEFT ( ProcedureName , 7 ) ) == 'http://'  .Or.  HMG_LOWER ( HB_ULEFT ( ProcedureName , 8 ) ) == 'https://' , {||ShellExecute(0, "open", "rundll32.exe", "url.dll,FileProtocolHandler " + ProcedureName , ,1)} , {||ShellExecute(0, "open", "rundll32.exe", "url.dll,FileProtocolHandler mailto:" + ProcedureName , ,1)} ) , ProcedureName )

Re: HMG 3.4.4

Posted: Tue Dec 19, 2023 1:17 pm
by mol
Thank you Edward!