Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlsource Function problem!
Message
From
17/11/1998 20:24:00
 
 
To
17/11/1998 10:11:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00157773
Message ID:
00158593
Views:
14
>Hi ---
>
>In the Init of the TextBox, put:
>
>THIS.Value=100-(database.field*100)
>THIS.Refresh()
>
>In the LostFocus of the TextBox, put:
>
>REPLACE database.field WITH 1.00-(THIS.Value*.01)
>
>Do not set a ControlSource for the Textbox, and make sure that you have your InputMask set the right way (probably "999")



THanks! ^_^;

I would put the init() coding into refresh() procedure!
Then, no need to refresh!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform