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

  1. gDirPromptWidth = max( 
  2.     zstring_width( zstring: '$$$/Dialogs/DirUI/Group' ),
  3.     zstring_width( zstring: '$$$/Dialogs/DirUI/Directory' ) );
  4.  
  5. gSearchPromptWidth = max(
  6.     zstring_width( zstring: '$$$/Dialogs/DirUI/QName' ),
  7.     zstring_width( zstring: '$$$/Dialogs/DirUI/QEmail' ) );
  8.  
  9. fSearchButtonWidth = max(
  10.     zstring_width( zstring: '$$$/Dialogs/DirUI/AdvancedSearch' ),
  11.     zstring_width( zstring: '$$$/Dialogs/DirUI/Search' ) ) + 10;
  12.  
  13. gRHSButtonWidth = max( 
  14.     zstring_width( zstring: '$$$/Dialogs/ChooseRecipients/Add'),
  15.     zstring_width( zstring: '$$$/Dialogs/ChooseRecipients/Details'),
  16.     zstring_width( zstring: '$$$/Dialogs/ChooseRecipients/Remove'),
  17.     zstring_width( zstring: '$$$/Dialogs/ChooseRecipients/Permissions') ) + 10;
  18.  
  19. gEditTextWidth = max_char_width() * 10;
  20.   
  21. gPopupWidth = max_char_width() * 10;
  22.  
  23. gListHeight = gEditTextHeight * 6;
  24.  
  25. dialog(name: '$$$/Dialogs/ChooseRecipients', target_id: 'ok  ')
  26. {
  27.     view(align_children: align_left)
  28.     {
  29.         static_text(item_id: 'Note', alignment: align_fill);
  30.         cluster( name: '$$$/Dialogs/DirUI/Cluster', align_children: align_fill, alignment: align_fill )
  31.         {
  32.             view( alignment: align_fill, align_children: align_row )
  33.             {
  34.                 view( align_children: align_right )
  35.                 {
  36.                     view( alignment: align_fill, align_children: align_row )
  37.                     {
  38.                         view(dwidth: gDirPromptWidth)
  39.                         {
  40.                             static_text( name: '$$$/Dialogs/DirUI/Directory', alignment: align_right );
  41.                         }
  42.                         popup( item_id: 'DirL', dwidth: gPopupWidth );
  43.                     }
  44.  
  45.                     view( alignment: align_fill, align_children: align_row )
  46.                     {
  47.                         view(dwidth: gDirPromptWidth)
  48.                         {
  49.                             static_text( name: '$$$/Dialogs/DirUI/Group', alignment: align_right );
  50.                         }
  51.                         popup( item_id: 'GrpL', dwidth: gPopupWidth );
  52.                     }
  53.  
  54.                     button( item_id: 'Brws', name: '$$$/Dialogs/DirUI/Browse' );
  55.                 }
  56.  
  57.                 cluster( name: '$$$/Dialogs/DirUI/SearchCluster', align_children: align_fill, alignment: align_fill )
  58.                 {
  59.                     view( alignment: align_fill, align_children: align_row )
  60.                     {
  61.                         static_text( name: '$$$/Dialogs/DirUI/QName', width:gSearchPromptWidth, alignment: align_right );
  62.                         edit_text( item_id: 'NStr', width: gEditTextWidth );
  63.                         button( item_id: 'SBt ', name: '$$$/Dialogs/DirUI/Search', width: fSearchButtonWidth, alignment: align_fill );
  64.                     }
  65.  
  66.                     view( alignment: align_fill, align_children: align_row )
  67.                     {
  68.                         static_text( name: '$$$/Dialogs/DirUI/QEmail', width:gSearchPromptWidth, alignment: align_right );
  69.                         edit_text( item_id: 'EStr', width: gEditTextWidth );
  70.                         button( item_id: 'ASBt', name: '$$$/Dialogs/DirUI/Advanced', width: fSearchButtonWidth, alignment: align_fill );
  71.                     }
  72.                 }
  73.             }
  74.  
  75.             gap(height: 5);
  76.  
  77.             view( alignment: align_fill, align_children: align_top )
  78.             {
  79.                 mclv( item_id: 'SrcL', dheight: gListHeight, alignment: align_fill );
  80.                 button( item_id: 'Add ', name: '$$$/Dialogs/ChooseRecipients/Add', dwidth: gRHSButtonWidth, alignment: align_top );
  81.             }
  82.         }
  83.         cluster(name: '$$$/Dialogs/ChooseRecipients/Recipients', align_children: align_left)
  84.         {
  85.             view(alignment: align_fill, align_children: align_top)
  86.             {
  87.                 mclv(item_id: 'RecL', height: gListHeight, alignment: align_fill );
  88.                 view(align_children: align_left)
  89.                 {
  90.                     button(item_id: 'Info', name: '$$$/Dialogs/ChooseRecipients/Details', dwidth: gRHSButtonWidth );
  91.                     button(item_id: 'Del ', name: '$$$/Dialogs/ChooseRecipients/Remove', dwidth: gRHSButtonWidth );
  92.                     button(item_id: 'Perm', name: '$$$/Dialogs/ChooseRecipients/Permissions', dwidth: gRHSButtonWidth );
  93.                 }
  94.             }
  95.             check_box(item_id: 'mdat', name: '$$$/Dialogs/ChooseRecipients/Metadata' );
  96.         }
  97.         ok_cancel_help();
  98.     }
  99. }