Inhalt

Index

I_PALETTE

I_PALETTE can be used instead of I_DIALOG and creates a dialog which is displayed in a palette.

Syntax

I_PALETTE title[, flag][, minWidth][, str1,str2,str3,str4,str5,str6]

Parameters

title (string): title of the palette

flag: flag number is a binary integer (between 0 and 7).

flag = 4*j3 + j2*2 + j1

where j1, j2, j3 can be 0 or 1:
j3: Apply and Cancel buttons are present
j2: show default Allplan info dialog
j1: has info dialog

minWidth (pixel): minimal width of column 2

str1 ...str6: text strings shown in the cells of the info dialog. With "pict=..." you can set a picture to be shown in the cell. With "link=..." a button with the URL is shown, by clicking on it, the URL is called in Web-Browser.

Remarks

The input controls are arranged in the palette. Each I_INFIELD is arranged in one row of the palette. The first column holds the description of the associated parameter. In the second column the control is placed. The position and width values of I_INFIELD statement have no effect. The Control is scaled to fit to the available space in the column.

Restriction: the Dialog Script can contain only one I_DIALOG or I_PALETTE command.

Usable since script version 1.3 (Allplan 2013-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy