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

  1. gColOneWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/CreateLink/Page'),
  3.     zstring_width(zstring: '$$$/Dialogs/CreateLink/Zoom'),
  4.     zstring_width(zstring: '$$$/Dialogs/CreateLink/File'),
  5.     zstring_width(zstring: '$$$/Dialogs/CreateLink/Address') + (max_char_width()));
  6.     
  7. gZoomBoxWidth = max(
  8.     zstring_width(zstring: '$$$avZoomMenuFitPage'),
  9.     zstring_width(zstring: '$$$avActualSize'),
  10.     zstring_width(zstring: '$$$avZoomMenuFitWidth'),
  11.     zstring_width(zstring: '$$$avZoomMenuFitVisible'),
  12.     zstring_width(zstring: '$$$avInheritZoom'));
  13.  
  14. gPathWidth = (max_char_width() * 15);
  15.  
  16. gAddressWidth = (max_char_width() * 15);
  17.  
  18. dialog(name: '$$$/Dialogs/CreateLinkFromSelection', target_id: 'rPag', first_tab: 'rPag')
  19. {
  20.     view(align_children: align_left)
  21.     {
  22.         cluster(name: '$$$/Dialogs/CreateLink/LinkAction', align_children: align_left)
  23.         {
  24.             view()
  25.             {
  26.                 radio(item_id: 'rPag', group_id: 'rgrp', name: '$$$/Dialogs/CreateLink/OpenAPage', next_tab: 'rFil');
  27.                 view(align_children: align_row)
  28.                 {
  29.                     view(align_children: align_right, width: gColOneWidth)
  30.                     {
  31.                         static_text(item_id: 'sPag', name: '$$$/Dialogs/CreateLink/Page');
  32.                     }
  33.                     edit_text(item_id: 'ePag', numeric: true, width: max_char_width()*8, next_tab: 'eZoo');
  34.                     static_text(item_id: 'sPgs', name: '$$$/Dialogs/CreateLink/NumOfPages', width: max_char_width()*8);
  35.                 }
  36.                 view(align_children: align_row)
  37.                 {
  38.                     view(align_children: align_right, width: gColOneWidth)
  39.                     {
  40.                         static_text(item_id: 'sZoo', name: '$$$/Dialogs/CreateLink/Zoom');
  41.                     }
  42.                     popup(item_id: 'eZoo', width: gZoomBoxWidth, next_tab: 'brow');
  43.                 }
  44.  
  45.                 view(align_children: align_row)
  46.                 {
  47.                     radio(item_id: 'rFil', group_id: 'rgrp', name: '$$$/Dialogs/CreateLink/OpenAFile', next_tab: 'rWeb');
  48.                     gap(width: 20);
  49.                     button(item_id: 'brow', name: '$$$/Dialogs/FileBrowse', next_tab: 'addr');
  50.                 }
  51.                 view(align_children: align_row)
  52.                 {
  53.                     view(align_children: align_right, width: gColOneWidth)
  54.                     {
  55.                         static_text(item_id: 'sPat', name: '$$$/Dialogs/CreateLink/File');
  56.                     }
  57.                     static_text(item_id: 'path', name: '$$$/Dialogs/FileNotSpecified', width: gAddressWidth);
  58.                 }
  59.  
  60.                 radio(item_id: 'rWeb', group_id: 'rgrp', name: '$$$/Dialogs/CreateLink/OpenAWebPage', next_tab: 'ePag');
  61.                 view(align_children: align_row)
  62.                 {
  63.                     view(align_children: align_right, width: gColOneWidth)
  64.                     {
  65.                         static_text(item_id: 'sAdr', name: '$$$/Dialogs/CreateLink/Address');
  66.                     }
  67.                     edit_text(item_id: 'addr', width: gAddressWidth, PopupEdit: true);
  68.                 }
  69.  
  70.             }
  71.         }
  72.         ok_cancel_help();
  73.     }
  74. }
  75.