When the cursor (your blinking one) is moving through textboxes, you can set the SelectOnEntry property to .T. and set your format property to 'K' to have FoxPro display a selection over the data within the control.
When the below code is placed in the GotFocus Event, it takes care of selecting everything within the control, whether the field/control is empty or not, when the control contains Character or Date data type data. However, it does not seem to work for numeric data fields. Anyone know how to make this work for numeric data?
Textbox::GotFocus()
This.SelStart=0
This.SelLength=This.MaxLength
NODEFAULT
Of course, I have set the MaxLength to the length of the field in each case for the text controls.
Thanks,
Cecil
(a Texan out of his State)