Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Mode no more?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00283324
Message ID:
00283722
Vues:
8
Hi Barbara,

That's a good idea. I'll have to add it. Thanks.

>Personally, I prefer EOR, but I give my clients their choice. One way of handling the problem of dynamically bound controls changing during INIT is to have an 'initialized' form property. Defaults to .F., gets changed to .T. at the end of INIT() or Activate() or whatever is appropriate for your scenario.
>
>I've used this successfully when I have to initialize combos depending on a variable passed in through INIT(). I make the combo's init dependant on the Initialized variable and then re-call the INITs when all the information is present.
>
>As for how to bind the controls, it's a simple method call that is put into each of the base classes for bound controls. Sets a form edit/add/readonly flag and refreshes the buttons accordingly. We have buttons that can be dropped on the form for Add/Save/Cancel etc. that reflect this.
>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform