Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing controls enabled property based on data being e
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01154757
Message ID:
01157074
Views:
20
How would you add the extender provider to a mmBusinessForm, mmMaintenanceForm form subclass so that a forms derviving from that have the DirtyChecker?

Thanks!

[edited]
Or am I confusing the extender provider model and inheritance in a non-workable way?

Ideally, I'd just drop the DirtyChecker on mmMaintenanceForm (or a custom subclass), compile, and derived forms would now implement the extender provider... I don't understand the VS designer enough to make this kind of thing work yet...

Basically, I want to have the dirty checking code (to activate/deactivate Save/Cancel/New/Delete controls) in the base form, not to have basically duplicated code in each form.

This isn't as sophisticated, assumes typical input controls are dirty-checked unless unregistered. Easier to integrate into my subclass of mmMaintenanceForm, I'm thinking.
http://community.rampgroup.com/blogfiles/dirtyforms/FormHelper.txt
Previous
Reply
Map
View

Click here to load this message in the networking platform