Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Object - Text Box
Message
From
02/04/1999 14:33:40
 
 
To
02/04/1999 14:29:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00204745
Message ID:
00204750
Views:
22
Hi Andy....Assume that TextBoxA controls the enabling/disabling of TextBoxB, OK?
*TextBoxA.LostFocus()
THIS.Parent.TextBoxB.Enabled=(THIS.Value="Whatever to trap")
THIS.Parent.TextBoxB.Refresh()
>I must be missing something very simple but I can't fixgure out how to
>disable a text box or check box based on data selected somewhere else in a form.
>
>Example:
>Is Text box A has Xdata in it
>
>Then textboxes g & h will be greyed out and not even in tab order and will be skipped
>
>Thanks in advance
>Andy
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform