home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2005 May / CyberMycha 05-2005 (Poland).bin / Immortal / cotndemo.exe / AdobeInstall.exe / Reader / plug_ins / PPKLite.api / EXVW / 20014 < prev    next >
Encoding:
Text File  |  2002-08-12  |  841 b   |  25 lines

  1. gValidNoteWidth = max_char_width() * 36;
  2. gValidNoteHeight = gStaticTextHeight * 8;
  3. gOtherButtonWidth = max(
  4.     zstring_width(zstring: '$$$IDS_BUTTON_LOGON'),
  5.     zstring_width(zstring: '$$$IDS_BUTTON_IMPORT'),
  6.     zstring_width(zstring: '$$$IDS_BUTTON_PROPERTIES'));
  7.  
  8. dialog(name: '$$$/Dialogs/ValidateAlert' )
  9. {
  10.     view(align_children: align_left, align_children: align_center)
  11.     {
  12.         view(align_children: align_top)
  13.         {
  14.             picture(item_id: 'icon', width: 32, height: 32);
  15.             static_text(item_id: 'Note', name: '$$$/Dialogs/ValidateAlert/Note',
  16.                 width: gValidNoteWidth, height: gValidNoteHeight, selectable: true );
  17.         }
  18.         view(align_children: align_top)
  19.         {
  20.             button(item_id: 'Okay', name: '$$$/Dialogs/ValidateAlert/OkayButton');
  21.             button(item_id: 'Butt', width: gOtherButtonWidth, name: '$$$IDS_BUTTON_IMPORT');
  22.         }
  23.     }
  24. }
  25.