Tamar E. Granor <> wrote:
>On 24 Feb 2003 06:15:35 -0800, "walkinrain" <zhujiang@walkinrain.com>
>wrote:
>
>>By the way, how to transfer a var. from a form to a object?

>
>Use form properties instead of local variables.
>
>>**********************
>>*In the "Load event" of root form
>>**********************
>>
>>private mysys,mancount
>>dime mysys(2,3)
>>..
>>mysys(2,1)=1
>>mancount=100

>
>Instead of this, add mysys and mancount as form-level properties and
>the code becomes:
>
>DIMENSION This.MySys(2,3)
>
>This.MySys(2,1) = 1
>This.ManCount = 100
>
>
>>**********************
>>* In the "refresh method" of grid1 in root form
>>**********************
>>..
>>this.columncount=mancount
>>...

>
>This.ColumnCount = This.ManCount
>
>Tamar