Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar
Message
De
05/03/2001 22:01:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Toolbar
Divers
Thread ID:
00482092
Message ID:
00482092
Vues:
49
Hi all,

I'm trying to set up my first toolbar, i create in my base classe a classe based in toolbar, then i create my form, drag the toolbar classe to the form, and add the following code in init form

jbtoolbar1=createobject( "ToolBar" )

set classlib to jbgci additive

jbtoolbar1.Caption ="Joao Batista - Primeira Toolbar"

jbtoolbar1.addobject ( "Button1" , "jbcommandbutton" )
jbtoolbar1.addobject ( "Sep1" , "Separator" )



jbtoolbar1.addobject ( "Button2" , "jbcommandbutton" )
jbtoolbar1.addobject ( "Sep2" , "Separator" )
jbtoolbar1.button1.caption="\"
jbtoolbar1.button1.autosize=.t.
jbtoolbar1.button2.caption="\"
jbtoolbar1.button2.autosize=.t.

jbtoolbar1.width=200

if i run the form the toolbar show's up but no buttons , no width.

thank's in advance

João Batista
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform