home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / PPKLite.api / EXVW / 20209 < prev    next >
Text File  |  2003-07-17  |  3KB  |  65 lines

  1. gMaxLabelWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/SecSettings/Method'),
  3.     zstring_width(zstring: '$$$/Dialogs/SecSettings/Changes'),
  4.     zstring_width(zstring: '$$$/Dialogs/SecSettings/Printing'),
  5.     zstring_width(zstring: '$$$/Dialogs/SecSettings/Copy'),
  6.     zstring_width(zstring: '$$$/Dialogs/SecSettings/Access'),
  7.     zstring_width(zstring: '$$$/Dialogs/SecSettings/EncryptLevel') );
  8. gMaxAttrWidth = max(
  9.     zstring_width(zstring: '$$$/Dialogs/SecSettings/MethodName'),
  10.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_ALL'),
  11.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_ANNOT_FILL'),
  12.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_FORM_FILL'),
  13.     zstring_width(zstring: '$$$IDS_USER_PERMS_CHANGE_DOC_ASSEMBLY'),
  14.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_NONE'),
  15.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_BASIC'),
  16.     zstring_width(zstring: '$$$IDS_USER_PERMS_PRINT_PS') );
  17.  
  18.  
  19. dialog(name: '$$$/Dialogs/SecSettings',target_id: 'ok  ')
  20. {
  21.     view(alignment: align_fill, align_children: align_left)
  22.     {
  23.         static_text(item_id: 'Note', name: '$$$/Dialogs/SecSettings/Note', 
  24.                         width: gMaxLabelWidth + 10 + gMaxAttrWidth);
  25.  
  26.         view(align_children: align_row, alignment: align_fill)
  27.         {
  28.             static_text(name: '$$$/Dialogs/SecSettings/Method', 
  29.                                 width: gMaxLabelWidth, alignment: align_right);
  30.             static_text(name: '$$$/Dialogs/SecSettings/MethodName', width: gMaxAttrWidth );
  31.         }
  32.         view(align_children: align_row, alignment: align_fill)
  33.         {
  34.             static_text(name: '$$$/Dialogs/SecSettings/Changes', 
  35.                                 width: gMaxLabelWidth, alignment: align_right);
  36.             static_text(item_id: 'Chgd', alignment: align_fill);
  37.         }
  38.         view(align_children: align_row, alignment: align_fill)
  39.         {
  40.             static_text(name: '$$$/Dialogs/SecSettings/Printing', 
  41.                                 width: gMaxLabelWidth, alignment: align_right);
  42.             static_text(item_id: 'Prtd', alignment: align_fill);
  43.         }
  44.         view(align_children: align_row, alignment: align_fill)
  45.         {
  46.             static_text(name: '$$$/Dialogs/SecSettings/Copy', 
  47.                                 width: gMaxLabelWidth, alignment: align_right);
  48.             static_text(item_id: 'Exct', alignment: align_fill);
  49.         }
  50.         view(align_children: align_row, alignment: align_fill)
  51.         {
  52.             static_text(name: '$$$/Dialogs/SecSettings/Access', 
  53.                                 width: gMaxLabelWidth, alignment: align_right);
  54.             static_text(item_id: 'Acce', alignment: align_fill);
  55.         }
  56.         view(align_children: align_row, alignment: align_fill)
  57.         {
  58.             static_text(name: '$$$/Dialogs/SecSettings/EncryptLevel', 
  59.                                 width: gMaxLabelWidth, alignment: align_right);
  60.             static_text(item_id: 'Algm', alignment: align_fill);
  61.         }
  62.         
  63.         ok();
  64.     }
  65. }