DHTML Menu Builder [DynAPI 1.1]
<developers_edition>
Saturday April 12, 2008

 

 

WARNING: The information on this documentation will change as the development on this version of DHTML Menu Builder progresses.
It is VERY important that you always refer to the information provided in this document prior to testing new versions of the DynAPI code.


Setting Styles Functions

void dmbAPI_setTBLayout(ToolbarIndex, Layout)


Description

Sets the layout of the toolbar so its toolbar items are displayed either vertically or horizontally stacked.

Code sample
dmbAPI_setTBLayout(2, 1);
This sample demonstrates how to change the layout of a toolbar.
In this sample the toolbar whose index is 2 has been configured so its commands will be displayed horizontally stacked.

Parameters

ToolbarIndex (integer) The toolbar index to be changed.

Layout (integer) The new layout of the toolbar. The possible values are 0 and 1.
When layout is 0 the toolbar items for the toolbar will be vertically stacked.
When layout is 1 the toolbar items for the toolbar will be horizontally stacked.