Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar in SDI Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00667148
Message ID:
00670684
Vues:
20
Yep, I found what I have missed, so this is a sample of draft working code:
Public TopLevel
TopLevel = CreateObject('oForm')
TopLevel.name = 'TopLevel'

DEFINE CLASS oToolBar AS ToolBar
	ShowWindow = 1	&& In Top-level form
ENDDEFINE

DEFINE CLASS oForm AS Form
	ShowWindow = 2	&& As Top-level form
	PROCEDURE Init
		THIS.Visible = .T.
		THIS.AddProperty('oToolbar', .NULL.)
		THIS.oToolbar = CREATEOBJECT('oToolBar')
		THIS.oToolbar.Show()
	ENDPROC
ENDDEFINE
Would you mind to add this as topic in the UT FAQ?

Regards
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform