Page 1 of 1

_HMG_SYSDATA structure

Posted: Tue Dec 17, 2013 11:38 am
by jayadevu
Hi,

Where can I find the complete structure of _HMG_SYSDATA array ?

Warm regards,

Jayadev

Re: _HMG_SYSDATA structure

Posted: Mon Dec 30, 2013 11:13 pm
by meneale
Hello, you can find it in control definition module, that is located in:
<hmgfolder>\source\h_<control>.prg

_HMG_SYSDATA[<property number>][_<form>_<control>]
You can read and also write, but you should to refresh it
Sample:

Code: Select all

Function CustomGetHandle(cControl,cForm)
local nHandle, cString := "_"+cForm+"_"+cControl

nHandle := _HMG_SYSDATA[3][&cString]
Return nHandle

Re: _HMG_SYSDATA structure

Posted: Tue Dec 31, 2013 12:49 am
by srvet_claudio
jayadevu wrote:Hi,

Where can I find the complete structure of _HMG_SYSDATA array ?

Warm regards,

Jayadev
In source\h_init.prg (line 170)

Re: _HMG_SYSDATA structure

Posted: Tue Mar 28, 2017 1:33 am
by Pablo César
I think this routine, could help for many to understand a bit of _HMG_SYSDATA structure:
 
Var_Stru.rar
Source and executable files
(1.26 MiB) Downloaded 338 times
 
For your study and learning. :D