Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting Text in Grid-Textbox
Message
From
24/10/2000 02:34:33
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00432839
Message ID:
00433333
Views:
21
I've tried several properties. But Refresh has not been part of that. I'll give it a try/search.

> 1. Where you put code to set SelStart and SelLength properties of textbox?

grid.column.container.textbox.gotfocus
grid.column.container.textbox.click

> 2. Are you sure other methods do not reset focus to control? For example, refresh of container.

No, I'm not sure anymore :-)

> 3. How you want to get textbox selected? When you tab to it by 'Tab' key, should work ok just using SelectOnEntry property of textbox. When you want to select it just when mouse clicked, this requires some tricks because VFP events.

'Tab' is fine, 'Click' just nice to have.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform