home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / PPKLite.api / EXVW / 20229 < prev    next >
Text File  |  2003-07-17  |  2KB  |  51 lines

  1. gLeftTextWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/DataRequestInfo/From/Name'),
  3.     zstring_width(zstring: '$$$/Dialogs/DataRequestInfo/From/EMailAddress'),
  4.     zstring_width(zstring: '$$$/Dialogs/DataRequestInfo/From/ContactInfo') );
  5.  
  6. gDialogWidth = gLeftTextWidth + max_char_width() * 22;
  7.  
  8. dialog(name: '$$$/Dialogs/DataRequestInfo', target_id: 'name' )
  9. {
  10.     group()
  11.     {
  12.         view(align_children: align_top, alignment: align_fill)
  13.         {
  14.             picture(item_id: 'icon', width: 20, height: 20);
  15.             static_text(item_id: 'note', alignment: align_fill, width: gDialogWidth);
  16.         }
  17.  
  18.          cluster( name: '$$$/Dialogs/DataRequestInfo/From', align_children: align_left, alignment: align_fill)
  19.         {
  20.             view(align_children: align_row, alignment: align_fill)
  21.             {
  22.                 static_text(name: '$$$/Dialogs/DataRequestInfo/From/Name', width: gLeftTextWidth, alignment: align_right);
  23.                 edit_text(item_id: 'naET', alignment: align_fill);
  24.             }
  25.             view(align_children: align_row, alignment: align_fill)
  26.             {
  27.                 static_text(name: '$$$/Dialogs/DataRequestInfo/From/EMailAddress', width: gLeftTextWidth, alignment: align_right);
  28.                 edit_text(item_id: 'emET', alignment: align_fill);
  29.             }
  30.  
  31.             static_text(item_id: 'conN', name: '$$$/Dialogs/DataRequestInfo/From/ContactInfoNote', alignment: align_fill);
  32.             view(align_children: align_row, alignment: align_fill)
  33.             {
  34.                 static_text(name: '$$$/Dialogs/DataRequestInfo/From/ContactInfo', width: gLeftTextWidth, alignment: align_right);
  35.                 edit_text(item_id: 'info', alignment: align_fill );
  36.             }
  37.  
  38.             static_text(item_id: 'sigT', name: '$$$/Dialogs/DataRequestInfo/From/Note', alignment: align_fill);
  39.             view(align_children: align_top, alignment: align_fill)
  40.             {
  41.                 gap( width: 5 );
  42.                 check_box(item_id: 'incC', name: '$$$/Dialogs/DataRequestInfo/From/IncludeCheckBox', alignment: align_fill);
  43.             }
  44.         }
  45.         radio(item_id: 'rad1', name: '$$$/Dialogs/DataRequestInfo/Request/EMailRadio');
  46.         radio(item_id: 'rad2', name: '$$$/Dialogs/DataRequestInfo/Request/SaveRadio');
  47.  
  48.         ok_cancel( ok_name: '$$$/Dialogs/NextButton' );
  49.     }
  50. }
  51.