Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button refresh
Message
From
10/03/2003 18:44:47
 
 
To
10/03/2003 18:34:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00763995
Message ID:
00763997
Views:
16
>I am attempting to refresh a button based of a text box having value in it. If it has a value, then I want the button to enabled. and the reverse to happen as well. the text box is displaying information from a list box and refreshes everytime the user scroll through the list box...can any assit
>
>here is sample code:
>
>IF EMPTY(ThisForm.M101AReq.value) OR ThisForm.M101AReq.value = 0
> ThisForm.Btn_M101a2.Enabled = .f.
>ELSE
> ThisForm.Btn_M101a2.Enabled = .T.
>ENDIF

Not sure what you're asking for. Put your above code in the ListBox.Refresh() and in the ListBox.InteractiveChange(), put a this.Refresh(). Does that help?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform