home *** CD-ROM | disk | FTP | other *** search
- gOptionsButtonWidth = max(
- zstring_width(zstring: '$$$/Dialogs/Sign/LessOptions'),
- zstring_width(zstring: '$$$/Dialogs/Sign/MoreOptions') ) + max_char_width()*3;
- gPasswordEditWidth = max_char_width() * 11;
- gReasonWidth = max_char_width() * 33;
- gEditButtonWidth = max(
- zstring_width(zstring: '$$$IDS_BUTTON_Preview'),
- zstring_width(zstring: '$$$IDS_BUTTON_Edit'));
-
- dialog(name: '$$$/Dialogs/Sign', target_id: 'name' )
- {
- group()
- {
- view(align_children: align_top, alignment: align_fill)
- {
- picture(item_id: 'icon', width: 16, height: 16);
- static_text(item_id: 'note', alignment: align_fill, height: gStaticTextHeight * 3 );
- }
-
- cluster( item_id: 'dtls', name: '$$$/Dialogs/Sign/Sign/Cluster', align_children: align_left, alignment: align_fill)
- {
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(item_id: 'tnam', alignment: align_fill, font_id: 5 );
- button(item_id: 'bcer', name: '$$$/Dialogs/Sign/ShowCert' );
- }
-
- view(item_id: 'pswd', align_children: align_row, alignment: align_left)
- {
- static_text(item_id: 'tpwd', name: '$$$/Dialogs/Sign/Password');
- edit_text(item_id: 'upwd', width: gPasswordEditWidth, password: true );
- }
-
- static_text(item_id: 'rest', name: '$$$/Dialogs/Sign/SigningInfo/Reason');
- edit_text(item_id: 'reas', PopupEdit: true, width: gReasonWidth, alignment: align_fill);
-
- button(item_id: 'optn', name: '$$$/Dialogs/Sign/LessOptions', width: gOptionsButtonWidth );
- gap();
-
- cluster( item_id: 'opts', name: '$$$/Dialogs/Sign/Options/Cluster', align_children: align_left, alignment: align_fill)
- {
- view( align_children: align_left, alignment: align_fill, item_id: 'grp1')
- {
- static_text(item_id: 'sapt', name: '$$$/Dialogs/Sign/SigningInfo/SigAP');
- view(align_children: align_row, alignment: align_fill)
- {
- popup(item_id: 'sgap', alignment: align_fill);
- button(item_id: 'edit', width: gEditButtonWidth);
- button(item_id: 'newb', name: '$$$/Dialogs/Sign/SigningInfo/NewButton');
- }
-
- static_text(item_id: 'loct', name: '$$$/Dialogs/Sign/SigningInfo/Location');
- edit_text(item_id: 'loca', alignment: align_fill);
-
- static_text(item_id: 'cont', name: '$$$/Dialogs/Sign/SigningInfo/ContactInfo');
- edit_text(item_id: 'cona', alignment: align_fill );
-
- static_text(item_id:'svtx', alignment: align_fill, height: gStaticTextHeight );
- }
- }
-
- }
-
- view( align_children: align_row, alignment: align_right, item_id: 'grp2')
- {
- button(item_id: 4, name: '$$$/Dialogs/HelpButton');
- gap();
- button(item_id: 'svas', name: '$$$/Dialogs/Sign/SaveAsButton');
- button(item_id: 'save', name: '$$$/Dialogs/Sign/SaveButton');
- button(item_id: 'canc', name: '$$$/Dialogs/Sign/Cancel');
- }
-
- }
- }
-
-