Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behaviour when subclassing grid
Message
 
 
À
27/03/2003 15:19:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00770945
Message ID:
00771058
Vues:
17
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform