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 / 10026 < prev   
Text File  |  2003-07-17  |  994b  |  26 lines

  1. gMaxItemStaticWidth    = max( zstring_width( zstring: '$$$/Dialogs/Multimedia/AddContent/Location' ),
  2.                            zstring_width( zstring: '$$$/Dialogs/Multimedia/AddContent/Mimetype' ) );
  3. gMaxLocationWidth    = 300;
  4.  
  5. dialog( target_id: 'locn', first_tab: 'LocT' )
  6. {
  7.     view( align_children: align_left, alignment: align_fill )
  8.     {
  9.         view( align_children: align_row, alignment: align_fill )
  10.         {
  11.             static_text( item_id: 'LocT', name: '$$$/Dialogs/Multimedia/AddContent/Location', width: gMaxItemStaticWidth, alignment: align_right, next_tab: 'locn' );
  12.             edit_text( item_id: 'locn', width: gMaxLocationWidth, alignment: align_fill, next_tab: 'MimT' );
  13.         }
  14.  
  15.         view( align_children: align_row, alignment: align_fill )
  16.         {
  17.             static_text( item_id: 'MimT', name: '$$$/Dialogs/Multimedia/AddContent/Mimetype', width: gMaxItemStaticWidth, alignment: align_right, next_tab: 'mmtp' );
  18.             popup( item_id: 'mmtp', alignment: align_fill, next_tab: 'LocT' );
  19.         }
  20.  
  21.         gap();
  22.  
  23.         ok_cancel();
  24.     }
  25. }
  26.