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_setGroupLayout(Group, Layout)


Description

Sets the layout of the group so the commands are displayed either vertically or horizontally stacked.

Code sample
dmbAPI_setGroupLayout("grp001", 1);
This sample demonstrates how to change the layout of a group.
In this sample the group whose name is "grp001" has been configured so its commands will be displayed horizontally stacked.

Parameters

Group (string) The name of the group whose layout will be changed.

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