Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toplevelformclass without tiltlebar
Message
De
30/12/2001 05:46:24
 
 
À
28/11/2001 10:35:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00586974
Message ID:
00599210
Vues:
15
Yep, it is a bug.

Do not know why, but for some properties, when you have changed them in the underlaying class from their default value, when you subclass that class, the property value is lost.

This is true for many ActiveX controls we have tried to subclass.
Have not found a fix, but found an workaround - in the Init method of the class we set all the "problematic" properties.

So, try setting the TitleBar property explicitly in the Init method. Do not forget DoDefault() in Init of your subclass/instance, if you have some other code added in it.
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform