Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight text from editbox
Message
From
15/10/2002 05:29:21
Omar Joseph Estrolavio
Philippine National Police
Quezon, Philippines
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00711179
Message ID:
00711239
Views:
14
Thank you very much Nadya
I did inserted your codes, unfortunately it highlighted the entire contents of the editbox.

txtSearch=upper(ALLtrim(thisform.contSearch.txtSearch.value))
loca for txtSearch $ UPPER(edtsummary)
lnPos=at(txtSearch,upper(thisform.edtsummary.value))
if m.lnPos>0
thisform.edtsummary.SelStart=m.lnPos
thisform.edtsummary.SelLength=len(txtSearch)
endif
thisform.refresh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform