Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable controlsource default behaviour
Message
De
29/07/1999 14:55:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00247745
Message ID:
00247874
Vues:
35
Actually, I hard-wired a property to hold the controlsource. And I made some evil misuse of JUSTSTEM and JUSTEXT (heh heh). I sent it to you.

>>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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform