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 / 10020 < prev    next >
Text File  |  2003-07-17  |  1KB  |  30 lines

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