Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hihglight current record in grid without sending focus
Message
From
28/03/2007 02:33:56
 
 
To
28/03/2007 01:46:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01209094
Message ID:
01209101
Views:
20
This message has been marked as the solution to the initial question of the thread.
>Dear Experts
>
>How to make current record highlighted without sendding focus in grid.
>
>thisform.grid1.recordsource="test"
>thisform.grid1.column3.controlsource="test.code"
>thisform.grid1.column4.controlsource="test.name"
>
>command1 has following codes
>
>select test
>seek thisform.text1.value && that is 12
>if found()
>thisform.text2.value=name
>endif
>
>grid1 contains all test.dbf data.
>when reocrd found then, in grid, current record must appear highligted but focus should remain on command button.
>
>Please help
yourgrid.highlightstyle=2
yourgrid.refresh()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform