>>You can use macro substitution. For example:
>>local lcVar
>>lcVar='page'+alltrim(str(x))
>>thisform.pageframe1...myproperty=.t.
>
>Hi Danko,
>
>I would write it this way:
>
>
store .t. to ('thisform.pageframe1.'+m.lcVar+'.myProperty')
>
>No macro substitution.
And since this is a pageframe, and we're actually dealing with the page's index, I'd write it as
thisform.pageframe1.pages[x].myproperty=.t.
Not even a name expression - just plain assignment statement.