Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make textbox to be selected in a grid?
Message
From
01/06/2006 12:35:06
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126352
Message ID:
01126504
Views:
13
>>
>>In the Click event:
>>this.selstart=0
>>this.sellength=this.maxlength
>
>Tore,
>
>Thank you very much. This does the job.

I recommend you to set a flag, cleared in LostFocus, to allow cursor positioning in subsequent mouse clicks
IF NOT this.Tag = '1'
    this.selstart=0
    this.sellength=this.maxlength
    this.Tag = '1'
ENDIF 
Previous
Reply
Map
View

Click here to load this message in the networking platform