Creating Split Panels - Adobe GoLive CS2 Programmer's Manual

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide
<jsxtabview posx="10" posy="9" width="235" height="136">
</jsxtabview>
</jsxdialog>
The tab panel is represented in GoLive by the JavaScript
panel programmatically by adding a control of type="tabpanel" to a window , object using its add
method.

Creating split panels

A split panel contains exactly two subpanels, which can be arranged horizontally or vertically. The
boundary between the two panels can be moved with the mouse. A split panel can be contained in a
dialog, palette, or inspector window, or in another panel. You define it using the <jsxsplitview> tag.
The following example creates a split panel whose two subpanels each contain one control. One contains
a file list and the other a hierarchy.
<jsxpalette name="splitlist" title="Splitlist" width="200" height="200">
<jsxsplitview posx="0" posy="0" width="200" height="200"
</jsxsplitview>
</jsxpalette>
This code fragment does not set up the contents of the controls. For the complete example, see
hierarchies and file
The split panel is represented in GoLive by the JavaScript
split panel programmatically by adding a control of type="splitpanel" to a window , object using its
add method.
<jsxview resource="tabpanel1" name="tabpanel1"
height="84" width="201">
<jsxview resource="tabpanel2" name="tabpanel2"
height="84" width="201">
<jsxview resource="tabpanel3" name="tabpanel3"
height="84" width="201">
halign="scale" valign="scale">
<jsxview posx="0" posy="0" width="100" height="200"
halign="scale" valign="scale">
<jsxcontrol type="filelist" value="add items" posx="0" posy="0"
width="100" height="200" halign="scale" valign="scale">
</jsxview>
<jsxview posx="0" posy="0" width="100" height="200"
halign="scale" valign="scale">
<jsxcontrol type="hierarchy" value="items" posx="0" posy="0"
width="100" height="200" halign="scale" valign="scale">
</jsxview>
lists.
Adobe GoLive CS2 SDK
tabpanel
splitpanel
Windows and Controls
Object. You can create also create a tab
Object. You can create also create a
64
Creating

Advertisement

Table of Contents
loading

Table of Contents