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 tbtnbmp</b> inherits from tcontrol http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TBtnBmp      Inherits from TControl
--------------------------------------------------------------------------------

 DATA
--------------------------------------------------------------------------------
 bAction         CodeBlock for the click event.
 cMsg            Message bar Text.
 lPressed        Is button is pressed.
 lCaptured       Is mouse is captured by the button.
 lAdjust         If the bitmap has to be resized to cover all its surface
 hBmpPal1        The main image of button.
 hBmpPal2        The image of button pressed for animated button.

 METHODS
--------------------------------------------------------------------------------
 New             Constructor from source code
 NewBar          Constructor from source code for Button Bar
 ReDefine        Creates a BtnBmp from resources
 Click           Mouse left button event handler
 FreeBitMaps     Releases all the bitmaps associated with this control
 cGenPRG         Generates the source code of this control
 HandleEvent     Generic events handler
 LButtonDown     Behavior when pressing the mouse
 LButtonUp       Behavior when releasing the mouse click
 LoadBitmaps     Load the bitmap/s from resources
 Paint           Draws the Button
 MouseMove       Behavior when moving the mouse over it
 Release         Destroy the Button image
 SetFile         Changes to a different BMP file

See Also: ButtonBar Commands Window.ch TControl

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