home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September (Special) / Chip-Special_2004-09_Digitalni-Hudba.bin / servis / reader / Data1.cab / SaveAsRTF.api / EXVW / 5000 next >
Text File  |  2003-05-15  |  2KB  |  64 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$IDS_CSP_GUESS'),
  3.     zstring_width(zstring: '$$$IDS_CSP_GRAY'),
  4.     zstring_width(zstring: '$$$IDS_CSP_COLOR'));
  5.     
  6. gLabelWidth = max(
  7.     zstring_width(zstring: '$$$/Dialogs/Settings/Colorspace'),
  8.     zstring_width(zstring: '$$$/Dialogs/Settings/Resolution'),
  9.     zstring_width(zstring: '$$$/Dialogs/Settings/OutputFormat'));
  10.  
  11. dialog( name: '$$$/Dialogs/Settings/RTF', first_tab: 'exco' )
  12. {
  13.    group()
  14.    {
  15.       group( align_children: align_fill )
  16.       {
  17.          cluster( name: '$$$/Dialogs/Settings/CommentGroup', align_children: align_fill )
  18.          {
  19.             check_box( item_id: 'exco', name: '$$$/Dialogs/Settings/IncludeComments', next_tab: 'exim' );
  20.          }
  21.  
  22.          view( align_children: align_distribute  )
  23.          {
  24.             cluster( name: '$$$/Dialogs/Settings/ImageGroup', align_children: align_left, alignment: align_fill )
  25.             {
  26.                check_box( item_id: 'exim', name: '$$$/Dialogs/Settings/IncludeImages', next_tab: 'fjpg' );
  27.                
  28.                view(align_children: align_left)
  29.                {
  30.                view( align_children: align_row )
  31.                {
  32.               static_text( name: '$$$/Dialogs/Settings/OutputFormat' );
  33.               radio( item_id: 'fjpg', name: '$$$/Dialogs/Settings/JPG', next_tab: 'fpng' );
  34.               radio( item_id: 'fpng', name: '$$$/Dialogs/Settings/PNG', next_tab: 'icsp' );
  35.                }
  36.                view( align_children: align_row )
  37.                {       
  38.                  static_text( name: '$$$/Dialogs/Settings/Colorspace');
  39.                  popup( item_id: 'icsp', width: gWidth, next_tab: 'cres');
  40.                }
  41.                
  42.                check_box( item_id: 'cres', name: '$$$/Dialogs/Settings/ChangeRes', next_tab: 'ires' );
  43.                
  44.                view( align_children: align_row )
  45.                {
  46.                     static_text( name: '$$$/Dialogs/Settings/Resolution');
  47.                  popup( item_id: 'ires', width: gWidth, next_tab: 'usma');                  
  48.                }
  49.         }
  50.             }
  51.          }
  52.          cluster( name: '$$$/Dialogs/Settings/UnTaggedGroup', align_children: align_fill )
  53.          {
  54.             check_box( item_id: 'usma', name: '$$$/Dialogs/Settings/UseMakeAccessible');
  55.          }
  56.  
  57.          ok_cancel_other( other_name: '$$$/Dialogs/Settings/Defaults',
  58.                    ok_name: '$$$/ControlsStrings/OK',
  59.                           cancel_name: '$$$/ControlsStrings/Cancel'
  60.                            );
  61.  
  62.       }
  63.    }
  64. }