home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 August / VPR0308.ISO / ADOBEREADER60 / Installer / Data1.cab / PPKLite.JPN / EXVW / 20210 < prev    next >
Text File  |  2003-05-21  |  2KB  |  46 lines

  1. gListWidth = max_char_width() * 30;
  2.  
  3. gListHeight = gEditTextHeight * 12;
  4.  
  5. gButtonWidth = max(
  6.     zstring_width(zstring: '$$$/Dialogs/AddressBook/AddContactsButton'),
  7.     zstring_width(zstring: '$$$/Dialogs/AddressBook/RequestButton'),
  8.     zstring_width(zstring: '$$$/Dialogs/AddressBook/EditButton'),
  9.     zstring_width(zstring: '$$$/Dialogs/AddressBook/ExportButton'),
  10.     zstring_width(zstring: '$$$/Dialogs/AddressBook/DeleteButton'),
  11.     zstring_width(zstring: '$$$/Dialogs/AddressBook/NewGroupButton') );
  12.  
  13. dialog( name: '$$$/Dialogs/AddressBook/Title' )
  14. {
  15.     view( alignment: align_fill ) 
  16.     {
  17.         view( alignment: align_fill )
  18.         {
  19.             view( align_children: align_row, width: gListWidth )
  20.             {
  21.                 static_text(name: '$$$/Dialogs/AddressBook/Display' );
  22.                 popup( item_id: 'view', alignment: align_fill );
  23.             }
  24.  
  25.             view( align_children: align_top, alignment: align_fill )
  26.             {
  27.                 mclv( item_id: 'list', dheight: gListHeight, dwidth: gListWidth );
  28.  
  29.                 view( alignment: align_fill )
  30.                 {
  31.                     button( item_id: 'mprt', name: '$$$/Dialogs/AddressBook/ImportButton', dwidth: gButtonWidth );
  32.                     button( item_id: 'reqB', name: '$$$/Dialogs/AddressBook/RequestButton', dwidth: gButtonWidth );
  33.                     gap( width: 5 );
  34.                     button( item_id: 'edit', name: '$$$/Dialogs/AddressBook/EditButton', dwidth: gButtonWidth );
  35.                     button( item_id: 'xprt', name: '$$$/Dialogs/AddressBook/ExportButton', dwidth: gButtonWidth );
  36.                     button( item_id: 'del_', name: '$$$/Dialogs/AddressBook/DeleteButton', dwidth: gButtonWidth );
  37.                     gap( width: 5 );
  38.                     button( item_id: 'newg', name: '$$$/Dialogs/AddressBook/NewGroupButton', dwidth: gButtonWidth );
  39.                 }
  40.             }
  41.         }
  42.  
  43.         ok_help( ok_name: '$$$/Dialogs/CloseButton' );
  44.     }
  45. }
  46.