Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelLength / SelStart Property VFP 3.0
Message
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00224979
Message ID:
00227204
Views:
31
Thanks David that works great - another undocumented command saves the day!

>Thanks David,
>I'll give it a try after I finish rebuilding this PC.
>The registry was so tramatized that I'm rebuilding from the ground up.
>Win 98 is a positive improvement thus far - found the right drivers and all!
>Lot to load yet -
>I hope that NODEFAULT is available in VFP 3.0b!
>
>>Edgar,
>>
>>Do you mean Editbox? What is probably biting you on your attempts is the automatic call to the Editbox BaseClass behavior at the end of your overridden code. VFP is undoing your setting of the Sel* properties. Do this instead:
>>
>>*GotFocus method
>>EditBox::GotFocus() && do the baseclass behavior now
>>nodefault && prevent automatic call
>>this.SelStart = 1
>>this.SelLength = len( this.Value )
>>
>>
>>>Thanks - but that property is not available to a textbox.
>>>
>>>I think maybe I'll find the equivalant to SHIFT-END key-send on got-fucus!?!
Edgar L. Bolton, B.S. B.B.A.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform