Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is autocenter not autocenter
Message
De
02/04/2003 14:22:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00772234
Message ID:
00773152
Vues:
15
Thsnks for the reply Sergey.

Run this code snippet and let me know what you think

=========================
Public oFormRef As Object

m.oFormRef = CreateObject( [FirstLevelSubclass] )
With m.oFormRef

.Caption = [Instance of First Level Subclass with AutoCenter False]
.Width = Len(.Caption)*Fontmetric(6)
.AutoCenter = .F.
.Show()

EndWith && This

Return .T.

Define Class FirstLevelSubclass AS MyHighestFormClass

* AutoCenter is not changed from default
Name = [FirstLevelSubclass]

EndDefine

Define Class MyHighestFormClass AS Form

Name = [Myhighestformclass]
AutoCenter = .T.

EndDefine
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform