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

  1. gEditItemWidth = max_char_width() * 25;
  2. gStaticItemWidth = gEditItemWidth + gEditTextPad;
  3. gPopupItemWidth = max(zstring_width(zstring: '$$$avBindingLeft'),zstring_width(zstring: '$$$avBindingRight')) + (max_char_width() * 4);
  4.  
  5. gLabelOSName = zstring_width(zstring: '$$$/Dialogs/SystemInfo/OSName');
  6. gLabelVersion = zstring_width(zstring: '$$$/Dialogs/SystemInfo/Version');
  7. gLabelOSManufacturer = zstring_width(zstring: '$$$/Dialogs/SystemInfo/OSManufacturer');
  8. gLabelSystemName = zstring_width(zstring: '$$$/Dialogs/SystemInfo/SystemName');
  9. gLabelSystemManufacturer = zstring_width(zstring: '$$$/Dialogs/SystemInfo/SystemManufacturer');
  10. gLabelSystemModel = zstring_width(zstring: '$$$/Dialogs/SystemInfo/SystemModel');
  11. gLabelSystemType = zstring_width(zstring: '$$$/Dialogs/SystemInfo/SystemType');
  12. gLabelProcessor = zstring_width(zstring: '$$$/Dialogs/SystemInfo/Processor');
  13. gLabelBIOSVersion = zstring_width(zstring: '$$$/Dialogs/SystemInfo/BIOSVersion');
  14. gLabelWindowsDir = zstring_width(zstring: '$$$/Dialogs/SystemInfo/WindowsDir');
  15. gLabelLocale = zstring_width(zstring: '$$$/Dialogs/SystemInfo/Locale');
  16. gLabelTimeZone = zstring_width(zstring: '$$$/Dialogs/SystemInfo/TimeZone');
  17. gLabelTotalPhysicalMemory = zstring_width(zstring: '$$$/Dialogs/SystemInfo/TotalPhysicalMemory');
  18. gLabelAvailablePhysicalMemory = zstring_width(zstring: '$$$/Dialogs/SystemInfo/AvailablePhysicalMemory');
  19. gLabelTotalVirtualMemory = zstring_width(zstring: '$$$/Dialogs/SystemInfo/TotalVirtualMemory');
  20. gLabelAvailableVirtualMemory = zstring_width(zstring: '$$$/Dialogs/SystemInfo/AvailableVirtualMemory');
  21. gLabelPageFileSpace = zstring_width(zstring: '$$$/Dialogs/SystemInfo/PageFileSpace');
  22.  
  23. gLabelItemWidth = max(
  24.     gLabelOSName,
  25.     gLabelVersion,
  26.     gLabelOSManufacturer,
  27.     gLabelSystemName,
  28.     gLabelSystemManufacturer,
  29.     gLabelSystemModel,
  30.     gLabelSystemType,
  31.     gLabelProcessor,
  32.     gLabelBIOSVersion,
  33.     gLabelWindowsDir,
  34.     gLabelLocale,
  35.     gLabelTimeZone,
  36.     gLabelTotalPhysicalMemory,
  37.     gLabelAvailablePhysicalMemory,
  38.     gLabelTotalVirtualMemory,
  39.     gLabelAvailableVirtualMemory,
  40.     gLabelPageFileSpace) + max_char_width();
  41.  
  42. gVerticalGapHeight = gStaticTextHeight / 4;
  43.  
  44. gMaxOptStatic = max(
  45.     zstring_width(zstring: '$$$avYes'),
  46.     zstring_width(zstring: '$$$avNo'));
  47.  
  48. dialog(name: '$$$/Dialogs/SystemInfo')
  49. {
  50.     view(align_children: align_right)
  51.     {    
  52.         view(align_children: align_left, width: gLabelItemWidth + max_char_width() * 30)
  53.         {
  54.             cluster(name: '$$$/Dialogs/SystemInfo/Cluster1', font_id: 5, align_children: align_left)
  55.             {
  56.                 edit_text(item_id: 'sysp', alignment: align_fill, readonly: true, height: 6 * gEditTextHeight, multiline: true);
  57.             }
  58.  
  59.             cluster(name: '$$$/Dialogs/SystemInfo/Cluster2', font_id: 5, align_children: align_left)
  60.             {
  61.                 edit_text(item_id: 'plug', alignment: align_fill, readonly: true, height: 6 * gEditTextHeight, multiline: true);
  62.             }
  63.         }
  64.         view(align_children: align_top)
  65.         {
  66.             ok(ok_name: '$$$/Dialogs/SystemInfo/OK');
  67.             button(item_id: 'send', name: '$$$/Dialogs/SystemInfo/SendReport');
  68.         }
  69.     }
  70. }
  71.