home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd2.bin / program / reader / Data1.cab / PictureTasks.api / EXVW / 107 < prev    next >
Text File  |  2003-05-15  |  3KB  |  75 lines

  1. gGapHeight = 2;
  2. gSpecialFeaturesWidth = zstring_width(zstring: '$$$/Dialogs/PTNotice/SpecialFeatures') + 50;
  3.  
  4. gMaxZStringsWidth=max(
  5.     gSpecialFeaturesWidth,
  6.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine1'),
  7.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine2'),
  8.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine3'),
  9.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine1'),
  10.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine2'),
  11.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine3'),
  12.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine4'),
  13.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ExportBullet'),
  14.     zstring_width(zstring: '$$$/Dialogs/PTNotice/EditBullet'),
  15.     zstring_width(zstring: '$$$/Dialogs/PTNotice/PrintBullet'),
  16.     zstring_width(zstring: '$$$/Dialogs/PTNotice/OrderBullet'));
  17.  
  18. dialog(name: '$$$/Dialogs/PTNotice', target_id: 1, width: gMaxZStringsWidth + 10)
  19. {
  20.  
  21.     view(align_children: align_column, width: gMaxZStringsWidth)
  22.     {
  23.  
  24.  
  25.         static_text(item_id: 'spdf', name: '$$$/Dialogs/PTNotice/SpecialFeatures', width: gSpecialFeaturesWidth);
  26.         gap(height: gGapHeight * 2);
  27.  
  28.         group(spacing: 0)
  29.         {
  30.             static_text(name: '$$$/Dialogs/PTNotice/ProductFamilyLine1');
  31.             static_text(name: '$$$/Dialogs/PTNotice/ProductFamilyLine2');
  32.             static_text(name: '$$$/Dialogs/PTNotice/ProductFamilyLine3');
  33.         }
  34.         gap(height: gGapHeight);
  35.  
  36.         group(spacing: 0)
  37.         {
  38.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine1');
  39.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine2');
  40.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine3');
  41.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine4');
  42.         }
  43.         
  44.  
  45.         group(spacing: 1)
  46.         {
  47.             static_text(name: '$$$/Dialogs/PTNotice/ExportBullet');
  48.             static_text(name: '$$$/Dialogs/PTNotice/EditBullet');
  49.             static_text(name: '$$$/Dialogs/PTNotice/PrintBullet');
  50.             static_text(name: '$$$/Dialogs/PTNotice/OrderBullet');
  51.         }
  52.         gap(height: gGapHeight);
  53.  
  54.         group(spacing: 0)
  55.         {
  56.             static_text(name: '$$$/Dialogs/PTNotice/OtherPDFs1');
  57.             static_text(name: '$$$/Dialogs/PTNotice/OtherPDFs2');
  58.             static_text(name: '$$$/Dialogs/PTNotice/OtherPDFs3');
  59.         }
  60.  
  61.         gap(height: gGapHeight * 3);
  62.  
  63.         view(align_children: align_row, width: gMaxZStringsWidth)
  64.         {
  65.             check_box(item_id: 'dsma', name: '$$$/Dialogs/PTNotice/DSMA', alignment: align_left);
  66.  
  67.             ok(alignment: align_right);
  68.         }
  69.  
  70.  
  71.         
  72.     }
  73.  
  74. }
  75.