Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar
Message
From
06/03/2001 09:20:09
 
 
To
06/03/2001 09:17:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00482092
Message ID:
00482196
Views:
10
Sorry, incomplete information

try putting on the first line of command:

Public jbtoolbar1

jbtoolbar1 =createobject( "ToolBar" )
jbtoolbar1.Caption ="Joao Batista - Primeira Toolbar"
jbtoolbar1.addobject ( "Button1" , "Commandbutton" )
jbtoolbar1.addobject ( "Sep1" , "Separator" )
jbtoolbar1.addobject ( "Button2" , "Commandbutton" )
jbtoolbar1.addobject ( "Sep2" , "Separator" )

jbtoolbar1.button1.caption="\"
jbtoolbar1.button1.Visible = .T.
jbtoolbar1.button1.autosize=.t.
jbtoolbar1.button2.caption="\"
jbtoolbar1.button2.autosize=.t.
jbtoolbar1.button1.Visible = .T.

jbtoolbar1.width =200
jbtoolbar1.Show

Note:
This is the code i have made to work with the test, change to your own.

Nuno Brito
Nuno Brito
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform