Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting a row in a grid
Message
From
16/11/2004 09:00:53
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961404
Message ID:
00961667
Views:
7
Terry

in AfterRowChangeEvent of the grid
thisrecord= recno()
select PXENTRYCODES
replace all PXENTRYCODES.lSELECTED with .f.
goto thisrecord
replace PXENTRYCODES.lSELECTED with .t.
thisform.refresh
when you click with mouse on a row it will be selected

in the refresh method of the form
thisform.grid1.setall( "dynamicbackcolor", "IIF( PXENTRYCODES.lSELECTED = .F., RGB( 255, 255, 255), RGB( 255,255,128))", "Column")
Luigi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform