Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable controlsource default behaviour
Message
From
29/07/1999 14:28:50
 
 
To
29/07/1999 14:09:45
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00247745
Message ID:
00247843
Views:
23
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.

>John! You're the best man! Send me a copy, please :-)
>
>>Hi Todd ---
>>
>>OK, I wrote it. Who wants it?
>>
>>
>>>Mark Mccasland and I came up with an idea for a textbox that will allow users to enter numeric expressions (17+23 will be replaced with 40)
>>>
>>>Mark suggested, and I agree that to make it work nicely, we'll have to manually bind the textbox to a field.
>>>
>>>I would like to still use the controlsource property to name the field that the textbox is bound to, but I want to handle the updates to and from that field on my own. Where all do I need to place a "nodefault" setting to keep the controlsource from overridding my textbox?
>>>
>>>Keep in mind, I have to make sure the textbox is always a character value, and I have to make sure its big enough for the user to enter a reasonable length expression.
>>>
>>>Thanks!
------------------------------------------------
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform