Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate CmdButton from the different form
Message
 
To
08/07/1998 07:31:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115214
Message ID:
00115219
Views:
13
You can search through _screen.forms array which contains reference of all the opened forms.
For example

FOR lni = 1 TO _screen.formcount
IF _screen.forms(lni).name = 'AAAAA'
_screen.forms(lni)......objectreference
ENDIF
NEXT

>I have 2 forms in the screen. How I make Enabled=.T. CmdButton in the second form /back form/, from the aktive form / front form/.
>Robert
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform