Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Button group
Message
From
05/05/2005 10:14:51
 
 
To
05/05/2005 10:03:35
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01011123
Message ID:
01011278
Views:
14
In the form.refresh method. Remember to change the text8 to whatever the name of your textbox is.
>Looks good to me. Last (hopefully) stupid question: where does this chunk of code go?
>
>Thanks again for all your help!
>
>>Yes, I would do it this way:
>>
>>IF !THISFORM.buttonset1.editmode
>>  THISFORM.text8.ENABLED = .T.
>>ELSE
>>  THISFORM.text8.ENABLED = .F.
>>ENDIF
>>
>>buttoneset1 is the usual name for the command group of buttons that control add, save, delete and exit, etc. editmode is a property on that command group, that the parent code looks at to deturmine the setting for the form's objects.
>>HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform