Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Mode no more?
Message
From
28/10/1999 16:19:21
 
 
To
28/10/1999 15:33:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00283324
Message ID:
00283401
Views:
12
>Hi Craig,
>
>But how do you solve the "irrelevent enabled controls" problem? For example, is your Undo and/or Cancel button always enabled? That's my problem; I get downright anal about controls not being enabled that have no function depending on the current form state. In a permanent edit mode, you have to get cute with the interactivechange of your parent classes.
>
>

Nope, not always enabled. When the Save button gets enabled, the Cancel button also gets enabled. Interactive change is exactly what I've used. It wasn't a big deal to put a couple of lines of code into my base classes and add a Mode property to the form so that it knows if it's in one of 4 states:

- Edit
- Add
- Query
- None
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform