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

  1. gPopupWidth=max(
  2.     zstring_width(zstring: '$$$IDS_SIG_LOCKFIELDS_ALL'),
  3.     zstring_width(zstring: '$$$IDS_SIG_LOCKFIELDS_THESE'),
  4.     zstring_width(zstring: '$$$IDS_SIG_LOCKFIELDS_EXCEPT'));
  5.  
  6. gButtonWidth=max(
  7.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Edit'),
  8.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Pick'));
  9.  
  10. gEditItemWidth = max_char_width() * 8;
  11. gGapWidth = max_char_width() * 1;
  12. gFieldItemHeight = gStaticTextHeight * 2;
  13. gFieldItemWidth = max_char_width() * 15;
  14. gJavaItemHeight = gStaticTextHeight * 6;
  15. gJavaItemWidth = max_char_width() * 15;
  16.  
  17. gAcro6 = '$$$/Dialogs/FieldProps/Sign/Acro6Only';
  18.  
  19. gAdd = '$$$/Dialogs/FieldProps/Add';
  20. gDelete = '$$$/Dialogs/FieldProps/Delete';
  21. gEdit = '$$$/Dialogs/FieldProps/Edit';
  22. gPick = '$$$/Dialogs/FieldProps/Pick';
  23.  
  24. gNo = '$$$/Dialogs/FieldProps/Sign/No';
  25. gYesPart1 = '$$$/Dialogs/FieldProps/Sign/Yes/Part1';
  26. gYesPart2 = '$$$/Dialogs/FieldProps/Sign/Yes/Part2';
  27. gScript = '$$$/Dialogs/FieldProps/Sign/Script';
  28.  
  29. dialog(name: '$$$/Dialogs/FieldProps')
  30. {
  31.     view(align_children: align_left)
  32.     {
  33.         group()
  34.         {
  35.             radio(item_id: 'rad1', group_id: 'rgrp', name: gNo);
  36.  
  37.             view(align_children: align_top)
  38.             {
  39.                 gap(width:gGap);
  40.                 static_text(item_id: 'acr6', name: gAcro6);
  41.             }
  42.             view(align_children: align_row)
  43.             {
  44.                 radio(item_id: 'rad2', group_id: 'rgrp', name: gYesPart1);
  45.                 popup(item_id: 'pop1', width: gPopupWidth);
  46.             }
  47.             view(align_children: align_top)
  48.             {
  49.                 gap(width:gGap);
  50.                 edit_text(item_id: 'flds', readonly:true, width: gFieldItemWidth, height: gFieldItemHeight);
  51.                 button(item_id: 'pick', width: gButtonWidth, name: gPick);
  52.             }
  53.  
  54.             view(align_children: align_row)
  55.             {
  56.                 radio(item_id: 'rad3', group_id: 'rgrp', name: gScript);
  57.             }
  58.             view(align_children: align_top)
  59.             {
  60.                 gap(width:gGap);
  61.                 edit_text(item_id: 'java', readonly:true, multiline: true, width: gJavaItemWidth, height: gJavaItemHeight);
  62.                 button(item_id: 'edit', width: gButtonWidth, name: gEdit);
  63.             }
  64.         }
  65.     }
  66. }
  67.