Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid item highlight
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01220302
Message ID:
01220306
Views:
25
>It works great
>
>using seek
>
>If the item is found, its' high-lighted
>
>However if the item is not found, the cursor goes and highlights any
>aleatory record
>
>Can I prevent it the item is not found ?
>
>Moises

I think you may reset HighlightStyle to 0 in this case. E.g.
if not seek(myCond,'myTable)
   thisform.grd1.HighlightStyle = 0 && remove higlight
endif
And you may re-set it back when grid receives focus.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform