Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>class tbar</b> inherits from tcontrol http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TBar      Inherits from TControl
--------------------------------------------------------------------------------
 DATA
--------------------------------------------------------------------------------
 aButtons        Array of TBtnBmp objects
 nGroups         Number of groups
 nMode           The position of the BtnBar on the window
 nBtnWidth       The height and width of its buttons. By default is 28x28
 nBtnHeight      The height of the Bar is automatically adjusted to the
                 height of the buttons.
 l3D             If the BtnBar has to be shown 3DLook

 METHODS
--------------------------------------------------------------------------------
 New             Constructor from source code.
 NewAt           Constructor from source code at a certain location.
 Add             Add a BtnBmp to the bar.
 AddGroup        Adds a new logical group to the bar.
 Adjust          Adjust the Button bar to the dimensions of its container window.
 AdjMode         Changes the BtnBar position to floating
 Del             Deletes a button from the bar.
 DelGroup        Deletes a logical group from the bar.
 Display         Displays the button bar
 cGenPRG         Returns a string with the source code of the button bar
 Float           Turns the buttonbar into floating mode.
 FloatClick      Processes MouseClicks on the float mode buttonbar.
 GetBtnTop       Returns the appropriate nTop when adding a new button
 GetBtnLeft      Returns the appropriate nLeft when adding a new button
 GoDown          Turns the buttonbar into down mode.
 GoLeft          Turns the buttonbar into left mode.
 GoRight         Turns the buttonbar into right mode.
 GoTop           Turns the buttonbar into top mode.
 LeftMode        Changes the BtnBar position to the left of the window
 MouseMove       Activates the default message on window owner MsgBar
 Paint           Displays the ButtonBar. Use :Refresh() instead this.
 RButtonDown     Processes mouse right clicks on the buttonbar.
 RightMode       Changes the BtnBar position to the Right the window
 TopMode         Changes the BtnBar position to the Top of the window
 Click           Mouse left button event handler
 SaveIni         Saves the bar to an INI file
 SetMsg          Set the text of the message bar of its container window
 GetBtnCol       Computes the column of the new Button


See Also: Commands Window.ch

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson