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

  1. gEMRButtonWidth=max(
  2.     zstring_width(zstring: '$$$/Dialogs/EmailReview/To'),
  3.     zstring_width(zstring: '$$$/Dialogs/EmailReview/Cc'),
  4.     zstring_width(zstring: '$$$/Dialogs/EmailReview/Bcc'));
  5.  
  6. gEMRLeftItemWidth=max(
  7.     gEMRButtonWidth + 44,
  8.     zstring_width(zstring: '$$$/Dialogs/EmailReview/Subject'),
  9.     zstring_width(zstring: '$$$/Dialogs/EmailReview/Attachment'));
  10.  
  11. gEMRSubjectGap = gEMRLeftItemWidth - zstring_width(zstring: '$$$/Dialogs/EmailReview/Subject');
  12. gEMRAttachGap = gEMRLeftItemWidth - zstring_width(zstring: '$$$/Dialogs/EmailReview/Attachment');
  13.  
  14. gEMRInstructionalWidth = max_digit_width() * 60;
  15. gEMRStringLabelWidth = gEMRInstructionalWidth - gEMRLeftItemWidth;
  16. gEMRAttachmentLabelWidth = zstring_width(zstring: '$$$/Dialogs/EmailReview/Attachment');
  17. gEMRLabelItemWidth = gEMRAttachmentLabelWidth;
  18.  
  19. dialog(item_id: 'wtst', name: '$$$/Dialogs/EmailReview')
  20. {
  21.     view(align_children: align_left)
  22.     {
  23.         static_text(item_id:'txt1', name: '$$$/Dialogs/EmailReview/Txt1', height: gStaticTextHeight * 2, width: gEMRInstructionalWidth);
  24.         static_text(item_id:'txt2', name: '$$$/Dialogs/EmailReview/Txt2', height: gStaticTextHeight * 5, width: gEMRInstructionalWidth);
  25.  
  26.         view(align_children: align_row, alignment: align_fill)
  27.         {
  28.             button(item_id: 'tobu', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/To');
  29.             edit_text(item_id: 'toet', alignment: align_fill);
  30.         }
  31.         view(align_children: align_row, alignment: align_fill)
  32.         {
  33.             button(item_id: 'ccbu', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/Cc');
  34.             edit_text(item_id: 'ccet', alignment: align_fill);
  35.         }
  36.         view(align_children: align_row, alignment: align_fill)
  37.         {
  38.             button(item_id: 'bccb', width: gEMRButtonWidth, name: '$$$/Dialogs/EmailReview/Bcc');
  39.             edit_text(item_id: 'bcce', alignment: align_fill);
  40.         }
  41.         view(align_children: align_row, alignment: align_fill)
  42.         {
  43.             gap(width: gEMRSubjectGap);
  44.             static_text(name: '$$$/Dialogs/EmailReview/Subject');
  45.             edit_text(item_id: 'sube', alignment: align_fill);
  46.         }
  47.         view(align_children: align_top, alignment: align_fill)
  48.         {
  49.             gap(width: gEMRAttachGap);
  50.             static_text(item_id:'atl ', name: '$$$/Dialogs/EmailReview/Attachment', width: gEMRLeftItemWidth, alignment: align_right );
  51.             static_text(item_id:'atst', width: gEMRStringLabelWidth, height: gStaticTextHeight * 2);
  52.         }
  53.         view(alignment: align_left)
  54.         {
  55.             static_text(item_id: 'msgl', width: max_char_width() * 32);
  56.         }
  57.         view(align_children: align_center)
  58.         {
  59.             edit_text( item_id: 'boet', width: max_char_width() * 32, height: gEditTextHeight*5, alignment: align_fill, multiline: true);
  60.         }
  61.         ok_cancel_help(ok_name: '$$$/Dialogs/EmailReview/Send');
  62.     }
  63. }
  64.