>I would like to know how i do to initialize a toolbar when my aplication
>initialize?
>I can define a position?
>
>
>Anderson Reis Girardi Porto Alegre - RS Brasil
*SEE "Dock" DOC for the position of the bar
SET CLASSLIB TO MyLib.vcx ADDITIVE
*If you have an application class:
oApp.AddObject("MyToolBar","toolbar")
oApp.MyToolBar.Dock(0)
oApp.MyToolBar.Caption = "Toolbar"
oApp.MyToolBar.Show()
*else
oToolBar = CREATEOBJECT("toolbar")
IF TYPE("oToolBar") = "O"
oToolBar.Dock(0)
oToolBar.Caption = "Toolbar"
oToolBar.Show()
ELSE
=MessageBox("OOOPS!")
ENDIF
*endif
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca