Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format K & SetFocus()
Message
From
06/04/2000 07:01:23
 
 
To
05/04/2000 08:51:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00355430
Message ID:
00356171
Views:
12
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
Map
View

Click here to load this message in the networking platform