# Editing the Palette

A palette contains an array of selectable palette buttons. Palettes can be attached to any edge of the application window, or be floating (not unlike a modeless dialog box.) On MS Windows systems, palettes can be dockable meaning they can be moved from one edge of the window to another while running the application. Palettes cannot be resized; they are automatically sizes to fit their contents. Double clicking on a palette will display the following detail:

Library Name – The name of this palette in the graphics library.

Title – Title text displayed in the header bar of a floating palette.

# Columns for Left/Right Dock – Number of columns of palette buttons and separators whenever palette is docked on the left or right edges of the window, or the palette is floating.

# Rows for Top/Bottom Dock – Number of rows of palette buttons and separators whenever palette is docked on the top or bottom edges of the window.

# Columns for Floating – Number of columns of palette buttons and separators whenever palette is not docked on a window edge, but floating free.

SIMSCRIPT Users:

With regard to execution control, the behavior of ACCEPT.F can be defined using the “Edit/Properties..” option on the dialog box, menu bar, or palette from within SIMDRAW. The ACCEPT.F function will behave according to one of three interaction modes. The following modes are listed:

Asynchronous: If this interaction mode is used, ACCEPT.F will suspend the active process when called. Whenever a status value of “1” is returned from the control routine or a terminating button is pushed, this process is resumed. If there is no simulation running and hence no active process, the “Synchronous” interaction mode is used.

Synchronous: Regardless of the simulation, ACCEPT.F will not return until a status value of “1” is returned from the control routine or a terminating button is pushed.

Don’t wait: ACCEPT.F won’t wait for any action by the user but will return immediately. Subsequent action on the form will invoke the control routine.

See Also

Editing a Palette Button

Editing Palette Separators