Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turning the add & delete buttons of a toolbar
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00852900
Message ID:
00854352
Vues:
15
My form is a subclass of frmDataManagerFormCustom in ..\cm7\custom\cforms.vcx. It inherits those properties from frmDataForm.

I started using Codemine with version 7, so it's possible that Codemine6 does not have that functionality. If that's the case, I guess you have the choice of adding those features to your own Custom subclasses of Codemine6, or upgrading to Codemine7.

If you choose the DIY route, you could add those properties to your custom form class. Then, you'd need to have the toolbar buttons observe the form's properties, probably via the toolbar buttons' Refresh(), then enable/disable themselves accordingly. That would not, by itself, handle any corresponding menu option that performs the same action as the toolbar. You'd need to handle that, too, to make the interface work really smoothly.

Sorry if my tip was a "red herring" for Codemine 6.


>Hi Bruce,
>
>Maybe im missing somthing but I dont seem to have lAllowDelete,lAllowNew,lAllowNavigation as properties on my form?
>
>Om using CM6 by the way :)
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein

Bruce Allen
NTX Data
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform