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

  1. gLabelDMProfile = zstring_width(zstring: '$$$/Dialogs/DocMan/Profile/Profile');
  2. gLabelDMTitle = zstring_width(zstring: '$$$/Dialogs/DocInfo/Title');
  3. gLabelDMAuthor = zstring_width(zstring: '$$$/Dialogs/DocInfo/Author');
  4. gLabelDMKeywords = zstring_width(zstring: '$$$/Dialogs/DocInfo/Keywords');
  5. gLabelDMDescription = zstring_width(zstring: '$$$/Dialogs/DocInfo');
  6.  
  7. gLabelDMItemWidth = max(
  8.     gLabelDMProfile,
  9.     gLabelDMTitle,
  10.     gLabelDMAuthor,
  11.     gLabelDMKeywords,    
  12.     gLabelDMDescription,    
  13.     gLabelBinding) + max_char_width();
  14.  
  15. dialog(name: '$$$/Dialogs/DocMan/Profile', first_tab: 'Titl')
  16. {
  17.     group()
  18.     {
  19.         group(align_children: align_left)
  20.         {
  21.             view(align_children: align_left)
  22.             {
  23.                 view(align_children: align_row)
  24.                 {
  25.                     gap(width: gLabelDMItemWidth - gLabelDMTitle);
  26.                     static_text(name: '$$$/Dialogs/DocInfo/Title');
  27.                     edit_text(item_id: 'Titl', width: (max_char_width() * 20), next_tab: 'Auth');
  28.                 }
  29.                 view(align_children: align_row)
  30.                 {
  31.                     gap(width: gLabelDMItemWidth - gLabelDMAuthor);
  32.                     static_text(name: '$$$/Dialogs/DocInfo/Author');
  33.                     edit_text(item_id: 'Auth', width: (max_char_width() * 20) , next_tab: 'Keyw');
  34.                 }
  35.                 view(align_children: align_row)
  36.                 {
  37.                     gap(width: gLabelDMItemWidth - gLabelDMDescription);
  38.                     static_text(name: '$$$/Dialogs/DocInfo');
  39.                     edit_text(item_id: 'Desc', width: (max_char_width() * 18), next_tab: 'Cmnt');
  40.                 }
  41.             }
  42.             cluster(name: '$$$/Dialogs/DocMan/Profile/VersionComments', align_children: align_left)
  43.             {
  44.                 group()
  45.                 {
  46.                     view(align_children: align_row)
  47.                     {
  48.                         static_text(name: '$$$/Dialogs/DocMan/Profile/EnterComments');
  49.                         edit_text(item_id: 'Cmnt', height: 3 * gEditTextHeight, width: max_char_width() * 15, next_tab: 'Publ');
  50.                     }
  51.                     check_box(item_id: 'Publ', name: '$$$/Dialogs/DocMan/Profile/Publish', next_tab: 'Prof');
  52.                 }
  53.             }
  54.         }
  55.         ok_cancel();
  56.     }
  57. }
  58.