|
Introduction
Containers Layouts Widgets
|
Containers -> boxpanelA boxpanel is similar to that of a panel. The difference is, a boxpanel can have a title and always has a border. The image below shows a boxpanel in action: ![]() The snippet below shows how to create the boxpanel above:
alias boxpanel {
$f = frame("BoxPanel", "size=220 120");
$boxpanel = boxpanel($f, 'layout=Flow', 'title=This is a box panel');
show($f);
}
Similarly with a panel, the first parameter can also be a frame. A boxpanel is normally used to group widgets together, for instance, a group of radiobuttons. Syntax and properties$boxpanel = boxpanel([$frame or $null , properties]); As with a panel, all the parameters of a boxpanel() are optional.
These properties are optional and can be in any order. | ||||||||||||||||||||||||||||||||