home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd2.bin / program / reader / Data1.cab / PPKLite.api / EXVW / 20208 < prev    next >
Text File  |  2003-07-17  |  2KB  |  44 lines

  1. gPopupWidth = max(
  2.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_NONE'),
  3.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_DOC_ASSEMBLY'),
  4.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_FORM_FILL'),
  5.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_ANNOT_FILL'),
  6.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_ALL'),
  7.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_NONE'),
  8.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_BASIC'),
  9.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_PS') );
  10.  
  11. dialog(name: '$$$/Dialogs/UserPerms')
  12. {
  13.     view(align_children: align_left, alignment: align_fill)
  14.     {
  15.         check_box(item_id: 'Rest', name: '$$$/Dialogs/UserPerms/Restricted');
  16.  
  17.         cluster(name: '$$$/Dialogs/UserPerms/ClusterName', align_children: align_left, alignment: align_fill )
  18.         {
  19.             view(align_children: align_left)
  20.             {
  21.                 view(alignment: align_right, align_children: align_row)
  22.                 {
  23.                     static_text(item_id: 'prtd', name: '$$$/Dialogs/UserPerms/Printing' );
  24.                     popup(item_id: 'Prtd', width: gPopupWidth + 10 );
  25.                 }
  26.  
  27.                 view(alignment: align_right, align_children: align_row)
  28.                 {
  29.                     static_text(item_id: 'chgd', name: '$$$/Dialogs/UserPerms/Changes' );
  30.                     popup(item_id: 'Chgd', width: gPopupWidth + 10 );
  31.                     
  32.                 }
  33.             }
  34.  
  35.             view( align_children: align_left, alignment: align_fill )
  36.             {
  37.                 check_box(item_id: 'Exct', name: '$$$/Dialogs/UserPerms/Copy');
  38.                 check_box(item_id: 'Acce', name: '$$$/Dialogs/UserPerms/Access');
  39.             }
  40.         }
  41.  
  42.         ok_cancel();
  43.     }
  44. }