Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectOnEntry not working for grid textbox
Message
From
03/09/2002 11:27:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00696230
Message ID:
00696232
Views:
11
The way I understand it, property .SelectOnEntry is mainly for the case that the user presses TAB to select a control.

For the case of a click, you need to explicitly select the contents, in method GotFocus().

HTH, Hilmar.

>Maybe my perception of this command is incorrect...
>
>Was hoping to select the entire field value of the textbox in a grid column when i click into the textbox. Users can enter a value of 99.9 into the text box. Want to avoid having the user click into the text box at the position to the right of the decimal. Was expecting SelectOnEntry to select the entire value. Instead, the cursor is placed wherever the user clicked.
>
>I have Format = K and SelectOnEntry = .T. for both the COLUMN properties and for the textbox in the column.
>
>Am using Nick's GridHighlighter. There is a "lSelectOnEntry" property on his class and i have set this to TRUE. Doesnt help. And tabbing from one column into this 99.9 column also does not select the entire field value.
>
>Any ideas?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform