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

  1. gMaxWidth=max(
  2.     zstring_width(zstring: '$$$/Dialogs/SpeechPrefs/Pitch'),
  3.     zstring_width(zstring: '$$$/Dialogs/SpeechPrefs/WordRate'));
  4.  
  5. gReadOrderWidth = max(
  6.     zstring_width(zstring: '$$$/Prefs/Access/ReadOrder/Inferred'),
  7.     zstring_width(zstring: '$$$/Prefs/Access/ReadOrder/TBLR'),
  8.     zstring_width(zstring: '$$$/Access/ReadOrder/Wordy'));
  9.  
  10. dialog(name: '$$$/Dialogs/SpeechPrefs/Speech', margin_height: 0, margin_width: 0)
  11. {
  12.     view(align_children: align_left, dwidth: gPrefsPanelWidth)
  13.     {
  14.         cluster(name: '$$$/Dialogs/SpeechPrefs/Speech', dwidth: gPrefsPanelWidth, align_children: align_left)
  15.         {
  16.             view(align_children: align_row)
  17.             {
  18.                 static_text(name: '$$$/Dialogs/SpeechPrefs/Volume');
  19.                 popup(item_id: 'volu', width: max_char_width() * 2);
  20.             }
  21.             check_box(item_id: 'DefV', name: '$$$/Dialogs/SpeechPrefs/DefaultVoice');
  22.             view(align_children: align_row)
  23.             {
  24.                 gap(width: 4);
  25.                 static_text(item_id: 'vlbl', name: '$$$/Dialogs/SpeechPrefs/Voice');
  26.                 popup(item_id: 'voic', width: max_char_width() * 15);
  27.             }
  28.  
  29.             check_box(item_id: 'DefA', name: '$$$/Dialogs/SpeechPrefs/DefaultAttributes');
  30.             view(align_children: align_row)
  31.             {
  32.                 gap(width: 4);
  33.                 view(align_children: align_right, width : gMaxWidth)
  34.                 {
  35.                     static_text(item_id: 'plbl', name: '$$$/Dialogs/SpeechPrefs/Pitch');
  36.                 }
  37.                 popup(item_id: 'pitc', width: max_char_width() * 2);
  38.             }
  39.             view(align_children: align_row)
  40.             {
  41.                 gap(width: 4);
  42.                 view(align_children: align_right, width : gMaxWidth)
  43.                 {
  44.                     static_text(item_id: 'rlbl', name: '$$$/Dialogs/SpeechPrefs/WordRate');
  45.                 }
  46.                 edit_text(item_id: 'rate', width: max_char_width() * 4, numeric: true);
  47.             }
  48.  
  49.         }
  50.  
  51.         cluster(item_id: 'Read', name: '$$$/Prefs/Access/ReadOrder/Title')
  52.         {
  53.             view(align_children: align_left)
  54.             {
  55.                 view(align_children: align_row)
  56.                 {
  57.                     static_text(name: '$$$/Prefs/Access/ReadOrder/Order');
  58.                     popup(item_id: 'Orde', width: gReadOrderWidth);
  59.                 }
  60.                 check_box(item_id: 'Ride', name:'$$$/Prefs/Access/ReadOrder/Override');
  61.             }
  62.         }
  63.  
  64.         cluster(item_id: 'Clus', name: '$$$/Prefs/Access/PageMode', alignment: align_fill)
  65.         {
  66.             static_text(item_id: 'Desc', name: '$$$/Dialogs/EmptyStr', alignment: align_fill, height: gStaticTextHeight * 2);
  67.             view(align_children: align_row)
  68.             {
  69.                 check_box(item_id: 'Mode', name: '$$$/Prefs/Access/SwitchToPageModeAbove');
  70.                 edit_text(item_id: 'MaxP', width: max_char_width() * 4);
  71.                 static_text(item_id: 'Labl', name: '$$$/Prefs/Access/Pages');
  72.             }
  73.         }
  74.  
  75.     }
  76. }
  77.