Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight current row
Message
From
10/11/2008 11:15:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/11/2008 11:04:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360907
Message ID:
01360913
Views:
16
>>Now, what was the condition for a DynamicForeColor() or DynamicBackColor(), for highlighting the current row in a grid? recno() = ???
>>
>>It seems to me that I have to save the current record number to a form property every time the user changes to another record - is there a simpler alternative?
>>
>>TIA,
>>
>>Hilmar.
>
>It was done this way in pre-version 9 times. Now you can do it easier (frankly, I still use old way, just a habit) by setting Grid.HighLightStyle=1 and using HighlightBackcolor and Highlightforecolor properties.

OK, thanks a lot. I am still somewhat accustomed to the old ways... and don't know the new features well enough.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform