[<<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

 !seealso: Bar.eho:"ButtonBar Commands" Headers.eho:Window.ch Tcontrol.eho:TControl



This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson