ZZZ := getproperty( "Form_1","Grid_1","ColumnFields" )
or
ZZZ := Form_1.Grid_1.ColumnFields
TYPE() for the above returns "UI", "Error indeterminate". (See below)
Is my code the problem or is there some issue with HMG?
Example: "C:\HMG.3.4.4\Samples\Controls\Grid\GRID_13\Demo.PRG"
1) I increased the form's height to 600
2) and added the following BUTTON:
Code: Select all
DEFINE BUTTON GetColumnFields
ROW 520
COL 30
WIDTH 200
HEIGHT 30
ACTION msginfo( "ColumnFields value: " + Type( 'getproperty( "Form_1","Grid_1","ColumnFields" )' ) )
CAPTION "Grid_1's ColumnFields?"
TABSTOP .T.
VISIBLE .T.
END BUTTON
Thank you!
Red2