Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight text from editbox
Message
 
 
To
14/10/2002 20:46:49
Omar Joseph Estrolavio
Philippine National Police
Quezon, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00711179
Message ID:
00711187
Views:
15
>hi.... do you know how to highlight for a particular word on an editbox
>for e.g. loca 'abc' $ memofield
>if found()
> display record
> highlight the result
>thanks..
lnPos = at('abc', thisform.myEditBox.value)
if m.lnPos> 0
   thisform.myEditBox.SelStart = m.lnPos
   thisform.myEditBox.SelLength = len('abc')
endif
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform