Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use this command
Message
 
To
23/09/2005 11:52:06
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052410
Message ID:
01052430
Views:
6
Hi MK,
you have to put 2 points after the "&"

thisform.&zc..enabled

do something like
LOCAL txt
FOR ixi = 1 TO 6
	txt = "command"+ALLTRIM(TRANSFORM(ixi))
	thisform.&txt..enabled=.f.
endfor
HTH
franco

>how i can do the below command :
>
>public zc
>zc="command"
>
>in the click event of command button i want to write like below :
>
>thisform.&zc1.enabled=.f.
>thisform.&zc2.enabled=.f.
>thisform.&zc3.enabled=.f.
>thisform.&zc4.enabled=.f.
>thisform.&zc5.enabled=.t.
>thisform.&zc6.enabled=.t.
>
>error "unrecognized command verb"
>
>warm regards,
>mk.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform