Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour when subclassing grid
Message
From
27/03/2003 17:37:55
 
 
To
27/03/2003 15:19:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00770945
Message ID:
00771058
Views:
16
Funny coincidence... I've just now been trying to figure out why I can't set the back colour in my grid subclass. If I figure it out, I'll let you know. :)

Michelle


>Hi.
>
>I have been finding some troubles when subclassing a grid.
>
>I create a Classlib which contains a basic VFP Grid, with custom backcolor in Column1 and custom messages in some methods in order to test:
>
>MyGrid.DblClick contains: Wait window "DoubleClick"
>MyGrid.Clcik contains: Wait window "Click"
>MyGrid.AfterRowColChange contains: Wait window "AfterRC"
>
>
>When I drop the class from the classlib into the form, the backcolor property is lost.
>When I run the form, AfterRowColChange works ok, but the others don't display the custom message (Click and DoubleClick).
>
>
>Any comments ?
>
>Thanks
>
>Juan C.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform