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 / 7080 < prev    next >
Text File  |  2003-07-17  |  2KB  |  74 lines

  1. gColumnOneWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Options/RadioStyle'),
  3.     zstring_width(zstring: '$$$/Dialogs/FieldProps/Options/ExportValue'));
  4.  
  5. gStyleWidth=max(
  6.     zstring_width(zstring: '$$$IDS_CHKBOX_CHECK'),
  7.     zstring_width(zstring: '$$$IDS_CHKBOX_CIRCLE'),
  8.     zstring_width(zstring: '$$$IDS_CHKBOX_CROSS'),
  9.     zstring_width(zstring: '$$$IDS_CHKBOX_DIAMOND'),
  10.     zstring_width(zstring: '$$$IDS_CHKBOX_SQUARE'),
  11.     zstring_width(zstring: '$$$IDS_CHKBOX_STAR'));
  12.  
  13. gEditItemWidth = max_char_width() * 7;
  14. gHintItemWidth = max_char_width() * 18;
  15. gHintItemHeight = gStaticTextHeight * 5;
  16.  
  17. gRadioStyle = '$$$/Dialogs/FieldProps/Options/RadioStyle';
  18. gExportValue = '$$$/Dialogs/FieldProps/Options/ExportValue';
  19. gRadioDefault = '$$$/Dialogs/FieldProps/Options/RadioDefault';
  20. gInUnison = '$$$/Dialogs/FieldProps/Options/InUnison';
  21.  
  22. dialog(name: '$$$/Dialogs/FieldProps', target_id: 'expt')
  23. {
  24.     view(align_children: align_top, alignment: align_fill)
  25.     {
  26.         view(align_children: align_left)
  27.         {
  28.             view(align_children: align_row)
  29.             {
  30.                 view(align_children: align_right, width: gColumnOneWidth)
  31.                 {
  32.                     static_text(item_id: 'ssty', name: gRadioStyle);
  33.                 }
  34.                 view(align_children: align_left)
  35.                 {
  36.                     popup(item_id: 'styl', width: gStyleWidth);
  37.                 }
  38.             }
  39.             view(align_children: align_row, alignment: align_fill)
  40.             {
  41.                 view(align_children: align_right, width: gColumnOneWidth)
  42.                 {
  43.                     static_text(item_id: 'sexp', name: gExportValue);
  44.                 }
  45.                 view(align_children: align_left)
  46.                 {
  47.                     edit_text(item_id: 'expt', width: gEditItemWidth);
  48.                 }
  49.             }
  50.             view(align_children: align_row, alignment: align_fill)
  51.             {
  52.                 view(align_children: align_left)
  53.                 {
  54.                     gap(width: gGap);
  55.                     check_box(item_id: 'chec', name: gRadioDefault);
  56.                     check_box(item_id: 'inun', name: gInUnison);
  57.                 }
  58.             }
  59.             gap(width: gGap, height: gStaticTextHeight);
  60.  
  61.             cluster(align_children:align_left)
  62.             {
  63.                 gap(height: gEditTextHeight / 2);
  64.                 view(align_children: align_top, alignment: align_fill)
  65.                 {
  66.                     picture(item_id: 'bulb', width: 32, height: 32);
  67.                     static_text(item_id: 'hint', width: gHintItemWidth, height: gHintItemHeight);
  68.                 }
  69.             }
  70.  
  71.         }
  72.     }
  73. }
  74.