Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable controlsource default behaviour
Message
 
 
À
29/07/1999 14:28:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00247745
Message ID:
00247865
Vues:
29
>Already on it's way --- bear in mind that this is proof of concept. Also, I forget to say in the email, you set the controlsource at design time as you would any other bound control. The control itself swaps out the CS and maintains the value and the updating of the controlsource source value.
>
Let me take a wild guess here. You put something in the INIT like:

This.AddProperty('cSource', This.ControlSource)

Then in the Refresh:

This.Value = eval(This.cSource)

In the LostFocus:

replace (This.cSource) with This.Value

You, of course, probably dressed each method code to test for existence, etc.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform