Toolbar adding buttons sample.

Code below shows how to call TBAddButtons method to add two buttons with a separator between these buttons. idxNew and idxOld are integer expressions assigning image indexes to buttons 'New' and 'Old'. This indexes are zero-based and refer to bitmap images, added earlier (either in creating toolbar by call of NewToolbar or later in call of TBAddBitmap).


     TBAddButtons( [ '&New', '-', '&Old', '' ], [ idxNew, 0, idxOld ] );


This help is generated by KOL Help generator, (C) 2000-2001 by Vladimir Kladov
Modified (C) 2003 by Alexander Bartov