home *** CD-ROM | disk | FTP | other *** search
- gActionsListWidth = 200;
- gActionsListHeight = 156;
- gPopupWidth = zstring_width (zstring: '$$$/Dialogs/PropertiesInspector/Actions/WidestActionString');
-
- gDialogTitle = '$$$/Dialogs/PropertiesInspector/Actions';
- gAddCluster = '$$$/Dialogs/PropertiesInspector/Actions/AddCluster';
- gSelectTrigger = '$$$/Dialogs/PropertiesInspector/Actions/SelectTrigger';
- gSelectAction = '$$$/Dialogs/PropertiesInspector/Actions/SelectAction';
- gAdd = '$$$/Dialogs/PropertiesInspector/Actions/Add';
- gActionsCluster = '$$$/Dialogs/PropertiesInspector/Actions/ActionsCluster';
- gEdit = '$$$/Dialogs/PropertiesInspector/Actions/Edit';
- gDelete = '$$$/Dialogs/PropertiesInspector/Actions/Delete';
- gUp = '$$$/Dialogs/PropertiesInspector/Actions/Up';
- gDown = '$$$/Dialogs/PropertiesInspector/Actions/Down';
- gClose = '$$$/Dialogs/PropertiesInspector/Actions/Close';
-
- gLabelWidth = max(
- zstring_width(zstring: gSelectTrigger),
- zstring_width(zstring: gSelectAction));
-
- dialog(name: gDialogTitle, first_tab: 'trlb')
- {
- view(align_children: align_left)
- {
- cluster(name: gAddCluster, align_children: align_fill)
- {
- view(align_children: align_row)
- {
- static_text(item_id: 'trlb', name: gSelectTrigger, width: gLabelWidth, alignment: align_right, next_tab: 'trig');
- popup(item_id: 'trig', width: gPopupWidth, alignment: align_fill, next_tab: 'aclb');
- }
- view(align_children: align_row)
- {
- static_text(item_id: 'aclb', name: gSelectAction, width: gLabelWidth, alignment: align_right, next_tab: 'actn');
- popup(item_id: 'actn', width: gPopupWidth, alignment: align_fill, next_tab: 'bAdd');
- }
- view(align_children: align_right, alignment: align_right)
- {
- button(item_id: 'bAdd', name: gAdd, next_tab: 'List');
- }
- }
- cluster(name: gActionsCluster, align_children: align_left)
- {
- hier_list_box(item_id: 'List', width: gActionsListWidth, height: gActionsListHeight, alignment: align_fill, next_tab: 'bUpx');
- view(align_children: align_row)
- {
- button(item_id: 'bUpx', name: gUp, next_tab: 'bDwn');
- button(item_id: 'bDwn', name: gDown, next_tab: 'bEdt');
- button(item_id: 'bEdt', name: gEdit, next_tab: 'bDel');
- button(item_id: 'bDel', name: gDelete);
- }
- }
- }
- }
-