Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use a parameter
Message
 
 
To
12/06/2001 21:31:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518121
Message ID:
00518685
Views:
6
>>>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.

Beat me, he-he-he :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform