home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 August / VPR0308.ISO / ADOBEREADER60 / Installer / Data1.cab / PPKLite.JPN / EXVW / 20104 < prev    next >
Text File  |  2003-05-21  |  1KB  |  30 lines

  1. gMaxLabelWidth = max( 
  2.     zstring_width(zstring: '$$$/Dialogs/Logon/path'),
  3.     zstring_width(zstring: '$$$/Dialogs/Logon/PwdText') );
  4. gMaxButtonWidth = 25 + max( 
  5.     zstring_width(zstring: '$$$/Dialogs/Logon/NewUserButton'),
  6.     zstring_width(zstring: '$$$/Dialogs/Logon/FindProfileButton') );
  7. gMinEditWidth = max_char_width() * 10;
  8.  
  9. dialog(name: '$$$/Dialogs/Logon', target_id: 'Pwd ')
  10. {
  11.     view(align_children: align_left, alignment: align_fill)
  12.     {
  13.         static_text(item_id: 'Note', alignment: align_fill, name: '$$$/Dialogs/Logon/Note');
  14.         view(align_children: align_row, alignment: align_fill)
  15.         {
  16.             static_text(item_id: 'PopT', name: '$$$/Dialogs/Logon/Path', width: gMaxLabelWidth, alignment: align_right);
  17.             popup(item_id: 'pop ', width: gMinEditWidth);
  18.             button(item_id:    'FndP', name: '$$$/Dialogs/Logon/FindProfileButton', width: gMaxButtonWidth);
  19.         }
  20.         view(align_children: align_row, alignment: align_fill)
  21.         {
  22.             static_text(item_id: 'PwdT', name: '$$$/Dialogs/Logon/PwdText', width: gMaxLabelWidth, alignment: align_right);
  23.             edit_text(item_id: 'Pwd ', password: true, alignment: align_fill);
  24.             button(item_id: 'NewP', name: '$$$/Dialogs/Logon/NewUserButton', width: gMaxButtonWidth);
  25.         }
  26.         gap( height: 5 );
  27.         ok_cancel();
  28.     }
  29. }
  30.