_HMG_SYSDATA structure

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jayadevu
Posts: 238
Joined: Tue May 19, 2009 7:10 am

_HMG_SYSDATA structure

Post by jayadevu »

Hi,

Where can I find the complete structure of _HMG_SYSDATA array ?

Warm regards,

Jayadev
User avatar
meneale
Posts: 51
Joined: Sat Jan 12, 2013 2:05 am
Location: Campinas -SP, Brasil

Re: _HMG_SYSDATA structure

Post 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
AMD Phenom II X6 1090T 3.2GHz (OverClock 3.9GHz) | Windows 8.1 Pro 64-bit
4GB DDR3 | GTX 550 Ti 1GB | MSI 880GMA-E35
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: _HMG_SYSDATA structure

Post 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)
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: _HMG_SYSDATA structure

Post 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 319 times
 
For your study and learning. :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply