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

  1. gListWidth = max_char_width() * 20;
  2. gListHeight = gEditTextHeight * 6;
  3. gPromptWidth = max(
  4.     zstring_width(zstring: '$$$/Dialogs/EditContact/Name'),
  5.     zstring_width(zstring: '$$$/Dialogs/EditContact/Email'),
  6.     zstring_width(zstring: '$$$/Dialogs/EditContact/Info'),
  7.     zstring_width(zstring: '$$$/Dialogs/EditContact/Certificates') );
  8.  
  9. dialog( name: '$$$/Dialogs/EditContact/Title' )
  10. {
  11.     view()
  12.     {
  13.         view( align_children: align_row, alignment: align_fill )
  14.         {
  15.             static_text( name: '$$$/Dialogs/EditContact/Name', dwidth: gPromptWidth, alignment: align_right );
  16.             edit_text( item_id: 'name', alignment: align_fill );
  17.         }
  18.  
  19.         view( align_children: align_row, alignment: align_fill )
  20.         {
  21.             static_text( name: '$$$/Dialogs/EditContact/Email', dwidth: gPromptWidth, alignment: align_right );
  22.             edit_text( item_id: 'mail', alignment: align_fill );
  23.         }
  24.  
  25.         view( align_children: align_row, alignment: align_fill )
  26.         {
  27.             static_text( name: '$$$/Dialogs/EditContact/Info', dwidth: gPromptWidth, alignment: align_right );
  28.             edit_text( item_id: 'info', alignment: align_fill );
  29.         }
  30.  
  31.         view( align_children: align_row, alignment: align_fill )
  32.         {
  33.             view(item_id: 'clus', name: '$$$/Dialogs/EditContact/Certificates', align_children: align_top)
  34.             {
  35.                 view( align_children: align_left )
  36.                 {
  37.                     mclv( item_id: 'list', dwidth: gListWidth, dheight: gListHeight );
  38.                 }
  39.  
  40.                 view( align_children: align_fill )
  41.                 {
  42.                     button( item_id: 'add_', name: '$$$/Dialogs/EditContact/AddButton' );
  43.                     button( item_id: 'rem_', name: '$$$/Dialogs/EditContact/RemoveButton' );
  44.                     button( item_id: 'view', name: '$$$/Dialogs/EditContact/ViewButton' );
  45.                     button( item_id: 'cryp', name: '$$$/Dialogs/EditContact/EncryptButton' );
  46.                 }
  47.             }
  48.         }
  49.  
  50.         ok_cancel();
  51.     }
  52. }
  53.