Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does this exist?
Message
From
14/05/2002 11:00:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00656148
Message ID:
00656156
Views:
11
Do you want to blank it out only long enough to enter a new value, or blank it out entirely for good? If only while entering a new value, then what about setting select on entry to .t.? As soon as the user starts typing, it overwrites the current value with the new value.

Also, I think there is an undocumented feature in VFP, where if you put a dodefault in the gotfocus method of a text box, it will do the equivalent to a select on entry when clicking on the textbox with the mouse.

>Hello,
>
>Is there a keyboard shortcut that will make a field blank? I need to provide an easy way for users to blank out a numerical field that contains previous input. VFP won't allow one to just delete the field's value, which I don't understand why. When I attempt to delete the value from the field, the field automatially resets itself to zero. I don't want to use null values for practical reasons.
>
>Any help would be appreciated :-)
>
>Thank You,
>
>Dave
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform