Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is autocenter not autocenter
Message
From
02/04/2003 14:22:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00772234
Message ID:
00773152
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform