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"