Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable controlsource default behaviour
Message
 
 
To
29/07/1999 14:28:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00247745
Message ID:
00247865
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform