Página 1 de 1

problem with toolbar

Publicado: Jue Jun 29, 2006 12:28 pm
por Ingo Junge-Herrmann
Jose,
in the preversions of Xailer I built the toolbar with 1 Rebarband like this:
WITH OBJECT ::oTool := TToolBar():New(::oReBar)
:Create()
:AddButton( "", "button1",,, cTip,bBblock1 ,,,)
:AddButton( "", "button2",,, cTip,bBblock2 ,,,)
....
....
END
WITH OBJECT TRebarBand():New( ::oRebar )
:oControl := ::oTool
:Create()
END
Now with this code I get 2 Rebarbands.
How to eliminate the second Rebarband?
Is there now any information about Toolbar?
Thanks in advance
Ingo

problem with toolbar

Publicado: Jue Jun 29, 2006 12:41 pm
por jfgimenez
Ingo,
> in the preversions of Xailer I built the toolbar with 1 Rebarband like
> this:
>
> WITH OBJECT ::oTool := TToolBar():New(::oReBar)
> :Create()
> :AddButton( "", "button1",,, cTip,bBblock1 ,,,)
> :AddButton( "", "button2",,, cTip,bBblock2 ,,,)
> ....
> ....
> END
> WITH OBJECT TRebarBand():New( ::oRebar )
> :oControl := ::oTool
> :Create()
> END
>
> Now with this code I get 2 Rebarbands.
It should work fine. It's exactly the same way we are creating rebar and
toolbars. See samplesrichpad.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

problem with toolbar

Publicado: Jue Jun 29, 2006 12:41 pm
por jfgimenez
Ingo,
> in the preversions of Xailer I built the toolbar with 1 Rebarband like
> this:
>
> WITH OBJECT ::oTool := TToolBar():New(::oReBar)
> :Create()
> :AddButton( "", "button1",,, cTip,bBblock1 ,,,)
> :AddButton( "", "button2",,, cTip,bBblock2 ,,,)
> ....
> ....
> END
> WITH OBJECT TRebarBand():New( ::oRebar )
> :oControl := ::oTool
> :Create()
> END
>
> Now with this code I get 2 Rebarbands.
It should work fine. It's exactly the same way we are creating rebar and
toolbars. See samplesrichpad.
--
Regards,
Jose F. Gimenez
http://www.xailer.com