#!F-adobe-helvetica-medium-r-normal--18* #!N #!CSeaGreen #!N #!Rcpadbs Control Panels as Dialog Boxes #!N #!EC #!N #!N It is possible to customize Control Panels so that they appear as dialog boxes. This is intended for building applications to be used in -image or -menubar mode (i.e., with the Image window or menu bar as the anchor window). The appearance of the dialog box can be modified with the options #!F-adobe-times-bold-r-normal--18* Label #!EF and #!F-adobe-times-bold-r-normal--18* Separator #!EF under #!F-adobe-times-bold-r-normal--18* Add Element #!EF in the #!F-adobe-times-bold-r-normal--18* Edit #!EF pull-down menu of the Control Panel. These will add the specified element to the panel at the point where the mouse cursor is positioned. Separators can be made vertical using the #!F-adobe-times-bold-r-normal--18* Set Layout #!EF option of the #!F-adobe-times-bold-r-normal--18* Edit #!EF menu. The size of the separator can be controlled using the mechanism described in #!Lreszint,dxall394 h Resizable Interactors. #!EL . The color and font of labels can be specified using the dialog box that appears when the label is created. These can be changed by selecting the label and choosing #!F-adobe-times-bold-r-normal--18* Set Attributes #!EF from the #!F-adobe-times-bold-r-normal--18* Edit #!EF menu of the Control Panel. #!N #!N Once the Control Panel has been created, select #!F-adobe-times-bold-r-normal--18* Dialog Style #!EF in the #!F-adobe-times-bold-r-normal--18* Options #!EF pull-down menu to create the dialog box. The size of the box will vary to accommodate the interactors. The empty canvas to the right of the interactors will be truncated. The placement of the interactors will also change if the box size is changed, to maintain the same relative positions. In -editor mode, the #!F-adobe-times-bold-r-normal--18* Close #!EF button returns to an editable Control Panel. In -image or -menubar mode the, #!F-adobe-times-bold-r-normal--18* Close #!EF button closes the dialog box. To enable a "dialog style" dialog box, save the visual program with the Control Panel in dialog-style format. #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Lcpa,dxall404 h Control Panel Access, Groups, and Hierarchies #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Sat Jun 22 12:59:08 CEST 2024.