cControl_WebButton Object Members


The cControl_Webbutton class implements a button similar to a simple HTML button commonly found on webpages.

Code Modules

Name Standard / Class Description
Support_Globals Standard Support module providing global variables and enumerations.
Support_General Standard Support module providing general functions used by multiple Composite Control classes.
Support_WebButton.bas Standard Support module for the cControl_WebButton class and it's cControl_Child classes..
cControl_WebButton.cls Class Class module for the cControl_WebButton class.
cControlChild_ActiveButton.cls Class Class module for the cControlChild_ActiveButton class.
cControlChild_Desector.cls Class Class module for the cControlChild_Deselector class.


Methods

Name Description
AttachToEventHandler Attach the WebButton's Terminate callback to a cControlEventHandler_WebButton object.
Initialize Initializes the cControl_WebButton object.
regRef Registers a Composite Controls object with the cCompositeControls class instance's global object references collection.
Terminate Terminates the cControl_WebButton object.
Terminate_ Callback function to be registered with the parent form EventHandler's OnTermiante() event.
UnHighlight Sets the WebButton label control's background to transparent if the WebButton is currently highlighted.
UnSelect Sets the Webbutton label control's baackground to transparent if the WebButton is currently selected.


Properties

Name Description
CommandButton Reference to the CommandButton control which serves as the event source for the WebButton.
Control Returns a reference to the CommandButton control.
ControlType Returns the type of Composite Control.
Deselector Returns a reference to a cControlChild_Deselector instance.
Highlight_Button Returns a reference to the cControlChild_ActiveButton object which manages the WebButton's highlight state.
Highlight_Color Background color of WebButton when the mouse cursor moves over it.
IsToggle Indicates whether the WebButton is a toggle button or an option button when operated in series with other WebButtons.
Label Reference to the label control which serves as the WebButton background.
Name Returns the name of the cControl_WebButton object.
OnHighlight Property setting for the OnHighlight() event.
OnSelect Property setting for the OnSelect() event.
Parent Returns a reference to a cCompositeControlManager object.
Select_Button Returns a reference to the cControlChild_ActiveButton object which manages the WebButton's select state.
Select_Color Background color of WebButton when the button is clicked.
Tag Stores unique identifier for object.


Events

Name Description
OnHighlight() Fires whenever the WebButton is highlighted.
OnSelect() Fires whenever the WebButton is selected.


Last edited Dec 24, 2010 at 2:14 PM by vba_junkie, version 1

Comments

No comments yet.