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

  1. gNameWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Name'),
  3.     zstring_width(zstring: '$$$/Dialogs/FieldProps/ToolTip'));
  4.  
  5. gEditItemWidth = max_char_width() * 20;
  6.  
  7. gPopupWidth = max(
  8.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Orientation'),
  9.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Visibility'));
  10.  
  11. gOrientationWidth = max(
  12.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/ZERO'),
  13.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/NINTY'),
  14.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/ONEEIGHTY'),
  15.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Rotation/TWOSEVENTY'));
  16.  
  17. gVisibilityPopupWidth = max(
  18.     zstring_width(zstring: '$$$/Dialogs/FieldProps/View/VISIBLE'),
  19.     zstring_width(zstring: '$$$/Dialogs/FieldProps/View/HIDDEN'),
  20.     zstring_width(zstring: '$$$/Dialogs/FieldProps/View/NOPRINT'),
  21.     zstring_width(zstring: '$$$/Dialogs/FieldProps/View/NOVIEW'));
  22.  
  23.  
  24. gName = '$$$/Dialogs/FieldProps/Name';
  25. gToolTip = '$$$/Dialogs/FieldProps/ToolTip';
  26. gCommonProps = '$$$/Dialogs/FieldProps/CommonProps';
  27. gReadOnly = '$$$/Dialogs/FieldProps/ReadOnly';
  28. gRequired = '$$$/Dialogs/FieldProps/Required';
  29. gVisibility = '$$$/Dialogs/FieldProps/Visibility';
  30. gOrientation = '$$$/Dialogs/FieldProps/Orientation';
  31. gDegrees = '$$$/Dialogs/FieldProps/Degrees';
  32.  
  33. dialog(name: '$$$/Dialogs/FieldProps', target_id: 'name')
  34. {
  35.     view(align_children: align_top, alignment: align_fill)
  36.     {
  37.         view(align_children: align_left, alignment: align_fill)
  38.         {
  39.             view(align_children: align_row, alignment: align_fill)
  40.             {
  41.                 view(align_children: align_right, width: gNameWidth)
  42.                 {
  43.                     static_text(item_id: 'snam', name: gName);
  44.                 }
  45.                 view(align_children: align_left)
  46.                 {
  47.                     edit_text(item_id: 'name', width: gEditItemWidth);
  48.                 }
  49.             }
  50.             view(align_children: align_row, alignment: align_fill)
  51.             {
  52.                 view(align_children: align_right, width: gNameWidth)
  53.                 {
  54.                     static_text(item_id: 'stti', name: gToolTip);
  55.                 }
  56.                 view(align_children: align_left)
  57.                 {
  58.                     edit_text(item_id: 'ttip', width: gEditItemWidth);
  59.                 }
  60.             }
  61.             gap(width: gGap);
  62.             gap(width: gGap);
  63.  
  64.             cluster(item_id:'clcp', name: gCommonProps, align_children: align_row)
  65.             {
  66.                 view(align_children: align_left)
  67.                 {
  68.                     view(align_children: align_row, alignment: align_fill)
  69.                     {
  70.                         view(align_children: align_right, width: gPopupWidth)
  71.                         {
  72.                             static_text(name: gVisibility);
  73.                         }
  74.                         view(align_children: align_fill, alignment: align_fill)
  75.                         {
  76.                             popup(item_id: 'vsbl', width: gVisibilityPopupWidth);
  77.                         }
  78.                     }
  79.                     view(align_children: align_row)
  80.                     {
  81.                         view(align_children: align_right, width: gPopupWidth)
  82.                         {
  83.                             static_text(name: gOrientation);
  84.                         }
  85.                         view(align_children: align_left)
  86.                         {
  87.                             popup(item_id: 'rota', width: gOrientationWidth);
  88.                         }
  89.                         view(align_children: align_left)
  90.                         {
  91.                             static_text(name: gDegrees);
  92.                         }
  93.                     }
  94.                 }
  95.                 gap(width: gGap);
  96.                 gap(width: gGap);
  97.                 view(alignment: align_right, align_children: align_left)
  98.                 {
  99.                     view(align_children: align_row)
  100.                     {
  101.                         check_box(item_id: 'read', name: gReadOnly);
  102.                     }
  103.                     view(align_children: align_row)
  104.                     {
  105.                         check_box(item_id: 'reqd', name: gRequired);
  106.                     }
  107.                 }
  108.             }
  109.         }
  110.     }
  111. }