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

  1. gMaxStaticWidth = max( 
  2.     zstring_width(zstring: '$$$/Dialogs/Multimedia/SpecifyPlayer/Name')
  3.     , zstring_width(zstring: '$$$/Dialogs/Multimedia/SpecifyPlayer/MinVersion') 
  4.     , zstring_width(zstring: '$$$/Dialogs/Multimedia/SpecifyPlayer/Status') 
  5.     , zstring_width(zstring: '$$$/Dialogs/Multimedia/SpecifyPlayer/DownloadURL') 
  6.     );
  7. gMaxEditWidth = 250;
  8. gListHeight = 150;
  9. gListWidth = gMaxEditWidth + gMaxStaticWidth;
  10. dialog(name: '$$$/Dialogs/Multimedia/SpecifyPlayer')
  11. {
  12.     view()
  13.     {
  14.         view( align_children: align_row )
  15.         {
  16.             view( align_children: align_right, width: gMaxStaticWidth )
  17.             {
  18.                 static_text( item_id: 'st01', name: '$$$/Dialogs/Multimedia/SpecifyPlayer/Name', next_tab: 'name' );
  19.             }
  20.             view(align_children: align_fill, dwidth:gMaxEditWidth)
  21.             {
  22.                 popup(item_id: 'name', next_tab: 'st02');
  23.             }
  24.         }
  25.         view( align_children: align_row )
  26.         {
  27.             view( align_children: align_right, width: gMaxStaticWidth )
  28.             {
  29.                 static_text( item_id: 'st02', name: '$$$/Dialogs/Multimedia/SpecifyPlayer/MinVersion', next_tab: 'mver');
  30.             }
  31.             edit_text(item_id: 'mver', dwidth:gMaxEditWidth, next_tab: 'st03');
  32.         }
  33.         view( align_children: align_row, dwidth:gMaxEditWidth )
  34.         {
  35.             view( align_children: align_right, width: gMaxStaticWidth )
  36.             {
  37.                 static_text( item_id: 'st03', name: '$$$/Dialogs/Multimedia/SpecifyPlayer/Status', next_tab: 'stat');
  38.             }
  39.             view(align_children: align_fill, dwidth:gMaxEditWidth)
  40.             {
  41.                 popup(item_id: 'stat', next_tab: 'st04');
  42.             }
  43.         }
  44.         static_text( item_id: 'st04', name: '$$$/Dialogs/Multimedia/SpecifyPlayer/OS', next_tab: 'olst');
  45.         mclv( item_id: 'olst', alignment: align_fill, dheight: gListHeight, next_tab: 'ok  ' );
  46.         ok_cancel();
  47.     }
  48. }
  49.