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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement