Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which event or method ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00383685
Message ID:
00383865
Views:
16
George,
I thought about this but it couples the button and the Lookup value to closely for my tastes. It also doesn't allow for any expansion in the future. Having the form perform the actions allows for multiple things to be done if that is called for at a later date.

>Larry,
>
>Why not just set the command button's visible property to the appropriate value (ie.: This.Visible = (This.Parent.LookUp.Value = < expr >) in its Refresh method? The each time the object is refreshed its visibilty state is controled as well. This couple the command button with the lookup object, but that can't be helped.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform