Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight entire row on grid
Message
From
27/01/2003 07:52:24
 
 
To
27/01/2003 00:13:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00738413
Message ID:
00745690
Views:
43
Hello Steven.

Could you tell me how to include a custom property 'nrecno' to my grid and initialise it to 0 ?

I take it that you are using a base class grid then. You need to create a custom subclass of your own and use this instead of the base case.

1. In the command window type CREATE CLASS grdBase and press < ENTER >

2. In the "New Class" dialog, type "grdBase" for the class name. Select grid in the "based on" drop down list and enter a name for the class library

3. Select "Class" from the main menu and then "New Property"

4. Type "nRecNo" for the name in the dialog box

5. Find the nRecNo property in the property sheet and set it to 0.

6. Now put the hightlighting code in the init of the class and all your grids based on this class will inherit this highlighting behavior.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform