General information
Category:
Coding, syntax & commands
Hi Ken,
I am running 6.0sp3
It is a numeric textbox with an input mask of 999.9
It works fine when I tab into the box it only fails to select when I do a SetFocus. I am not doing any KEYBOARD commands.
I just tried it in a new form and it works ok so there must be something else going on.
I am doing an INSERT INTO ... and a TABLEUPDATE then I am STORE 0 TO the textbox...
>The SelectOnEntry should work if you have 5.0 or higher....but there must be something else wrong because the Format K should work also, even if SelectOnEntry is .F. the Format K should highlight the information in field. What type of control is this? Are you loading anything into the keyboard buffer before or after the SetFocus? Does the information get highlighed if you tab into the field instead of doing SetFocus?
>
>>>When I do a SetFocus() on a field that has a Format of K to select all upon entry the field is not selected. I am doing a SelStart, SelLength to select the field now. Is there a better way to do this?
>>
>>Look at the SelectOnEntry property.
>>
>>Alex
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only