General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only