14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

516 Creating and Sharing Applications Chapter 15<br />

Application Builder<br />

Change the Type of Container<br />

After inserting some containers, you can change them to a different type of container without having to<br />

re-create the object. Suppose that you create a panel that contains text and a button. To see what the panel<br />

looks like as an outline, select the panel, right-click in the module, and then select Change Container ><br />

Outline (Figure 15.6).<br />

Figure 15.6 Change a Panel to an Outline<br />

In this example, you would also change the outline title to match that of the panel.<br />

Tip: To change the orientation of a list box quickly, select or deselect Horizontal in the object properties.<br />

Insert an Object into a New Container<br />

When creating a module, you can drag objects onto the module without inserting them into a container<br />

object. To place the objects in a container later, select the objects and then select an option from the<br />

Format > Add Container list.<br />

Duplicate Objects<br />

When you copy and paste an object, the second instance of the object is renamed. The scripts attached to<br />

the object are also renamed. Pressing CTRL (or COMMAND on Macintosh) and dragging the object also<br />

creates duplicates of the originals.<br />

Delete an Object<br />

• Remove one or more objects by selecting them and then pressing the DELETE key.<br />

• Drag the objects outside of the module.<br />

• On Macintosh, select the objects, hold down CTRL and COMMAND, and then select Delete.<br />

• On Windows, select Edit > Clear to delete all objects in a module.<br />

• Select the object and then press the BACKSPACE key.<br />

If you no longer need the object’s script, you can delete the script also.<br />

Customize Object Properties<br />

After you drag an object from the Sources pane onto a module, customize the object properties in the<br />

Properties pane. Editing the object properties saves you the step of writing JSL for list items, button names,<br />

and so on.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!