Search found 102 matches

by edk
Wed Jun 21, 2017 10:47 am
Forum: General Discussions
Topic: Internet connected or not
Replies: 22
Views: 561

Re: Internet connected or not

"Internet Connection Not Available" on Win10 Pro 32 and WinXp on VM and Server2012r2
WinXp on VM.PNG
WinXp on VM.PNG (14.96 KiB) Viewed 87 times
Win10.png
Win10.png (5.22 KiB) Viewed 87 times
Serwer2012R2.png
Serwer2012R2.png (6.38 KiB) Viewed 85 times
by edk
Wed Jun 21, 2017 9:02 am
Forum: General Discussions
Topic: Internet connected or not
Replies: 22
Views: 561

Re: Internet connected or not

however I'm a bit sceptical about its reliability, since i got: "Ping to 0.1.0.1 Succesful" for xurl := "0.1.0.1" (needless to say that doing a C:\>ping 0.1.0.1 (in command line) returns as expected "PING: transmission failed. General failure." ) Strange, I've got message "Internet Connection Not A...
by edk
Thu Jun 15, 2017 2:25 pm
Forum: HMG General Help
Topic: How to call function from .dll library?
Replies: 27
Views: 693

Re: How to call function from .dll library?

What is nRetType parameter in HMG_CallDLL function? I follow the documentation: HMG_CallDLL() Calls a ANSI/Unicode DLL Function HMG_CallDLL() detects the current code page and appropriately called the ANSI or Unicode version of the function. Syntax: HMG_CallDLL ( cLibName, [ nRetType ] , cFuncName,...
by edk
Thu Jun 15, 2017 8:25 am
Forum: HMG General Help
Topic: How to call function from .dll library?
Replies: 27
Views: 693

Re: How to call function from .dll library?

Marek, try this: /* HB_DYNCALL ({<cFunction>, <cLibrary> | <pLibrary> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn>]]}, ...) -> <xResult> nFuncFlags ---> hb_bitOr (HB_DYN_CTYPE_ *, HB_DYN_ENC_ *, HB_DYN_CALLCONV_ *) nArgFlags ---> hb_bitOr (HB_DYN_CTYPE_ *, HB_DYN_ENC_ *) pLibrary : = hb_libLoa...
by edk
Sun Jun 11, 2017 9:04 am
Forum: HMG General Help
Topic: Textbox Problem
Replies: 18
Views: 820

Re: Textbox Problem

Franco, You can try to delay an event call, like ONENTER millisec(50) Or, if this error occurs, look in the ErrorLog.htm file and find where this error is generated. Should be given a procedure / function name and possibly a line number (in brackets). Then you can look for a solution in HMG sources....
by edk
Fri Jun 09, 2017 11:36 am
Forum: HMG Samples
Topic: EditBox/TextBox - improvement
Replies: 8
Views: 315

Re: EditBox/TextBox - improvement

bpd2000 wrote:
Fri Jun 09, 2017 8:45 am
mol wrote:
Fri Jun 09, 2017 8:37 am
ctrl+num+ - increase font size
ctrl+num- - decrease font size
works only one time...
Mol
I am not facing such problem
My OS is Win10 64bit
+1
by edk
Tue Jun 06, 2017 2:11 pm
Forum: HMG General Help
Topic: RICHEDITBOX in Panel-Window (Virtual Height)
Replies: 26
Views: 880

Re: RICHEDITBOX in Panel-Window (Virtual Height)

Indeed, this is due to the fact that Autoscroll (in fact _HMG_PRINTER_SETVSCROLLVALUE) emulates a shift bar slider, which in conjunction with the mouse click selects the text. If you hold down the left mouse button longer than the milisec declared, then the text will be selected. :( You can try disa...
by edk
Tue Jun 06, 2017 7:38 am
Forum: HMG General Help
Topic: RICHEDITBOX in Panel-Window (Virtual Height)
Replies: 26
Views: 880

Re: RICHEDITBOX in Panel-Window (Virtual Height)

Hi Karl. I think that another solution is cleaning mouse state (unpress mouse left key) before vscroll: FUNCTION changekey () ON KEY TAB OF Form_3 ACTION HMG_PRESSKEY(17, 9) ON KEY ESCAPE OF Form_3 ACTION Form_3.Text_2.SETFOCUS HMG_CleanLastMouseMessage() Millisec(100) _HMG_PRINTER_SETVSCROLLVALUE(G...
by edk
Mon Jun 05, 2017 1:32 pm
Forum: HMG General Help
Topic: RICHEDITBOX in Panel-Window (Virtual Height)
Replies: 26
Views: 880

Re: RICHEDITBOX in Panel-Window (Virtual Height)

Hi Karl. Solution without changing HMG sources, it may be (in a dirty way) execution of UnSelectAll after the time it takes to complete the event. FUNCTION changekey () ON KEY TAB OF Form_3 ACTION HMG_PRESSKEY(17, 9) ON KEY ESCAPE OF Form_3 ACTION Form_3.Text_2.SETFOCUS _HMG_PRINTER_SETVSCROLLVALUE(...