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 / 6400 < prev    next >
Text File  |  2003-07-17  |  3KB  |  86 lines

  1. gMaxWidthFieldCheckBox=max(
  2.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/All'),
  3.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/Except'),
  4.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/Only'));
  5. gMaxWidthDateFormat=max(
  6.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Date/ClusterName'),
  7.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Date/Convert'));
  8. dialog(name: '$$$/Dialogs/PropsSubmit', target_id: 'eURL')
  9. {
  10.     group()
  11.     {
  12.         view(align_children: align_left)
  13.         {
  14.             view(align_children: align_left)
  15.             {
  16.                 static_text(item_id: 'txt1', name: '$$$/Dialogs/PropsSubmit/StaticURL');
  17.                 edit_text(item_id: 'eURL', width: max_char_width() * 30, PopupEdit: true);
  18.             }            
  19.             view(align_children: align_top)
  20.             {
  21.                 cluster(item_id: 'clu1', name: '$$$/Dialogs/PropsSubmit/Export/ClusterName', align_children: align_left)
  22.                 {
  23.                     group()
  24.                     {
  25.                         radio(item_id: 'rad1', group_id: 'rgrp', name: '$$$/Dialogs/PropsSubmit/Export/FDF');                        
  26.                             view(align_children: align_row)
  27.                             {    gap(width: max_char_width()*1);
  28.                                 check_box(item_id: 'box1', name: '$$$/Dialogs/PropsSubmit/FDF/Data');
  29.                             }
  30.                             view(align_children: align_row)
  31.                             {    gap(width: max_char_width()*1);
  32.                                 check_box(item_id: 'box2', name: '$$$/Dialogs/PropsSubmit/FDF/Annots');
  33.                             }
  34.                             view(align_children: align_row)
  35.                             {    gap(width: max_char_width()*1);
  36.                                 check_box(item_id: 'box3', name: '$$$/Dialogs/PropsSubmit/FDF/Changes');
  37.                             }
  38.                         radio(item_id: 'rad2', group_id: 'rgrp', name: '$$$/Dialogs/PropsSubmit/Export/HTML');                    
  39.                             view(align_children: align_row)
  40.                             {    gap(width: max_char_width()*1);
  41.                                 popup(item_id: 'henc', width: max_char_width() * 16);
  42.                             }
  43.                             
  44.                         radio(item_id: 'rad3', group_id: 'rgrp', name: '$$$/Dialogs/PropsSubmit/Export/XML');                    
  45.                             view(align_children: align_row)
  46.                             {    gap(width: max_char_width()*1);
  47.                                 check_box(item_id: 'box4', name: '$$$/Dialogs/PropsSubmit/XML/Data');
  48.                             }
  49.                             view(align_children: align_row)
  50.                             {    gap(width: max_char_width()*1);
  51.                                 check_box(item_id: 'box5', name: '$$$/Dialogs/PropsSubmit/XML/Annots');
  52.                             }
  53.                         radio(item_id: 'rad4', group_id: 'rgrp', name: '$$$/Dialogs/PropsSubmit/Export/PDF');                    
  54.                     }
  55.                 }
  56.                 view(align_children: align_fill)
  57.                 {
  58.                     cluster(item_id: 'clu2', name: '$$$/Dialogs/PropsSubmit/Field/ClusterName', align_children: align_left)
  59.                     {
  60.                         group()
  61.                         {
  62.                             radio(item_id: 'rad6', group_id: 'fgrp', name: '$$$/Dialogs/PropsSubmit/Select/All', width: gMaxWidthFieldCheckBox);                        
  63.                             view(align_children: align_row)
  64.                             {
  65.                                 radio(item_id: 'rad8', group_id: 'fgrp', name: '$$$/Dialogs/PropsSubmit/Select/Only', width: gMaxWidthFieldCheckBox);                    
  66.                                 button(item_id: 'but2', name: '$$$/Dialogs/PropsSubmit/Select/Fields');
  67.                             }
  68.                         }
  69.                         gap(); 
  70.                     }
  71.                     cluster(item_id: 'clu3', name: '$$$/Dialogs/PropsSubmit/Date/ClusterName', align_children: align_left)
  72.                     {
  73.                         check_box(item_id: 'box7', name: '$$$/Dialogs/PropsSubmit/Date/Convert');
  74.                         gap(height: gStaticTextHeight * 3);
  75.                         view(align_children: align_row)
  76.                         {    gap(width: max_char_width()*1);
  77.                             static_text(item_id: 'rrrr', width: gMaxWidthDateFormat, height: gStaticTextHeight * 5);
  78.                         }
  79.                     }
  80.                 }
  81.             }
  82.             ok_cancel();
  83.         }
  84.     }
  85. }
  86.