Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
 
To
17/05/2004 01:34:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grid
Miscellaneous
Thread ID:
00904479
Message ID:
00904508
Views:
11
1, Create a property in your form (call it inRecno and set the default value to 0)
2. In the init event of the grid use:

DODEFAULT()
WITH THIS
.SetAll("DynamicBackColor", ;
"IIF(recno(This.RecordSource)=ThisForm.inRecno, ;
RGB(255,0,0),RGB(255,255,192))","COLUMN")
ENDWITH
3. In the AfterRowColChangeEvent of the grid use:

DODEFAULT()
ThisForm.inRecNo = RECNO()
This.Columns(This.ActiveColumn).Text1.BackColor = RGB(255,0,0)
This.Refresh()




>hi to all,
>
>everybody who knows how to highlights(red) entire row in current record,
>when im pressing arrowkey downward.
>
>tia.
>rya
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform