home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 August / VPR0308.ISO / ADOBEREADER60 / Installer / Data1.cab / PPKLite.JPN / EXVW / 20216 < prev    next >
Text File  |  2003-05-21  |  4KB  |  101 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/ChooseContacts/Add'),
  15.     zstring_width( zstring: '$$$/Dialogs/ChooseContacts/Details'),
  16.     zstring_width( zstring: '$$$/Dialogs/ChooseContacts/Delete'),
  17.     zstring_width( zstring: '$$$/Dialogs/ChooseContacts/Trust') ) + 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/ChooseContacts/Title' )
  26. {
  27.     view( align_children: align_left )
  28.     {
  29.         cluster( name: '$$$/Dialogs/DirUI/Cluster', align_children: align_fill, alignment: align_fill )
  30.         {
  31.             view( alignment: align_fill, align_children: align_row )
  32.             {
  33.                 view( align_children: align_right )
  34.                 {
  35.                     view( alignment: align_fill, align_children: align_row )
  36.                     {
  37.                         view(dwidth: gDirPromptWidth)
  38.                         {
  39.                             static_text( name: '$$$/Dialogs/DirUI/Directory', alignment: align_right );
  40.                         }
  41.                         popup( item_id: 'DirL', dwidth: gPopupWidth );
  42.                     }
  43.  
  44.                     view( alignment: align_fill, align_children: align_row )
  45.                     {
  46.                         view(dwidth: gDirPromptWidth)
  47.                         {
  48.                             static_text( name: '$$$/Dialogs/DirUI/Group', alignment: align_right );
  49.                         }
  50.                         popup( item_id: 'GrpL', dwidth: gPopupWidth );
  51.                     }
  52.  
  53.                     button( item_id: 'Brws', name: '$$$/Dialogs/DirUI/Browse' );
  54.                 }
  55.  
  56.                 cluster( name: '$$$/Dialogs/DirUI/SearchCluster', align_children: align_fill, alignment: align_fill )
  57.                 {
  58.                     view( alignment: align_fill, align_children: align_row )
  59.                     {
  60.                         static_text( name: '$$$/Dialogs/DirUI/QName', width:gSearchPromptWidth, alignment: align_right );
  61.                         edit_text( item_id: 'NStr', width: gEditTextWidth );
  62.                         button( item_id: 'SBt ', name: '$$$/Dialogs/DirUI/Search', width: fSearchButtonWidth, alignment: align_fill );
  63.                     }
  64.  
  65.                     view( alignment: align_fill, align_children: align_row )
  66.                     {
  67.                         static_text( name: '$$$/Dialogs/DirUI/QEmail', width:gSearchPromptWidth, alignment: align_right );
  68.                         edit_text( item_id: 'EStr', width: gEditTextWidth );
  69.                         button( item_id: 'ASBt', name: '$$$/Dialogs/DirUI/Advanced', width: fSearchButtonWidth, alignment: align_fill );
  70.                     }
  71.                 }
  72.             }
  73.  
  74.             gap(height: 5);
  75.  
  76.             view( alignment: align_fill, align_children: align_top )
  77.             {
  78.                 mclv( item_id: 'SrcL', dheight: gListHeight, alignment: align_fill );
  79.                 button( item_id: 'Add ', name: '$$$/Dialogs/ChooseContacts/Add', dwidth: gRHSButtonWidth, alignment: align_top );
  80.             }
  81.         }
  82.  
  83.         cluster( name: '$$$/Dialogs/ChooseContacts/RecipientsCluster', align_children: align_fill, alignment: align_fill )
  84.         {
  85.             view( alignment: align_fill, align_children: align_top )
  86.             {
  87.                 mclv( item_id: 'RecL', dheight: gListHeight, alignment: align_fill );
  88.  
  89.                 view( align_children: align_fill, dwidth: gRHSButtonWidth )
  90.                 {
  91.                     button(item_id: 'Info', name: '$$$/Dialogs/ChooseContacts/Details', dwidth: gRHSButtonWidth );
  92.                     button( item_id: 'Del ', name: '$$$/Dialogs/ChooseContacts/Delete', dwidth: gRHSButtonWidth );
  93.                     button( item_id: 'Trst', name: '$$$/Dialogs/ChooseContacts/Trust', dwidth: gRHSButtonWidth );
  94.                 }
  95.             }
  96.         }
  97.  
  98.         ok_cancel_help();
  99.     }
  100. }
  101.