Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sparse effects SelStart and SelLength
Message
From
05/06/2001 02:56:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/06/2001 19:49:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514899
Message ID:
00514961
Views:
15
>I have a container with an incremental search combobox and a editbox that I have placed in a grid. Since I want this control to show in all the rows at all times I have set the sparse to False.But if the sparse is set to false the incremental search will only search on the first letter in the combo. I am positive this is because I can't get the SelStart or the SelLength poperties to work. If the sparse is set to True then everything works fine. But if the cell isn't selected then a blank is shown in the cell,this is why I want it set to False. Question is why will the SelStart and SelLength only work when the column sparse is set to True.
>
>Randy

Randy,
Incremental search doesn't work on first letter only. It's timed with _dblclick up to current version and will change in next version. You could increase _dblclick on gotfocus and set back to default on lostfocus.
Textbox being empty should be related with inputmask. Provide an inputmask wide enough to hold size of field (replicate('X',fsize(..)).
Sparse .t. setting IMHO is more appropriate.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform