home *** CD-ROM | disk | FTP | other *** search
- gMaxLabelWidth = max(
- zstring_width(zstring: '$$$/Dialogs/Logon/path'),
- zstring_width(zstring: '$$$/Dialogs/Logon/PwdText') );
- gMaxButtonWidth = 25 + max(
- zstring_width(zstring: '$$$/Dialogs/Logon/NewUserButton'),
- zstring_width(zstring: '$$$/Dialogs/Logon/FindProfileButton') );
- gMinEditWidth = max_char_width() * 10;
-
- dialog(name: '$$$/Dialogs/Logon', target_id: 'Pwd ')
- {
- view(align_children: align_left, alignment: align_fill)
- {
- static_text(item_id: 'Note', alignment: align_fill, name: '$$$/Dialogs/Logon/Note');
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(item_id: 'PopT', name: '$$$/Dialogs/Logon/path', width: gMaxLabelWidth, alignment: align_right);
- popup(item_id: 'pop ', width: gMinEditWidth);
- button(item_id: 'NewP', name: '$$$/Dialogs/Logon/NewUserButton', width: gMaxButtonWidth);
- }
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(item_id: 'PwdT', name: '$$$/Dialogs/Logon/PwdText', width: gMaxLabelWidth, alignment: align_right);
- edit_text(item_id: 'Pwd ', password: true, alignment: align_fill);
- button(item_id: 'FndP', name: '$$$/Dialogs/Logon/FindProfileButton', width: gMaxButtonWidth);
- }
- gap( height: 8 );
- ok_cancel( ok_name: '$$$/Dialogs/Logon/OkayButton' );
- }
- }
-