Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
17/05/2004 09:05:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grid
Miscellaneous
Thread ID:
00904479
Message ID:
00904533
Views:
15
hi Mike,

its great.
thanks
mabuhay!!!

Ryan.


>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
Reply
Map
View

Click here to load this message in the networking platform