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

 DATA
--------------------------------------------------------------------------------
 aItems          Array of Items of the ComboBox
 nAt             Index of the current select item
 aBitmaps        Array of Bitmaps of the ComboBox if ownerdraw style used
 lOwnerDraw      If it is an ownerdraw style ComboBox
 nBmpHeight      Height to use for painting the ownerdraw bitmaps
 nBmpWidth       Width to use for painting the ownerdraw bitmaps
 bDrawItem       CodeBlock to evaluate to select a ownerdraw bitmap to paint
 cError          Error description when using a ComboBox for browse cell editing
 oGet            Contained GET for DropDown ComboBoxes if STYLE CBS_DROPDOWN specified
 nStyle          internally used when specifying a STYLE CBS_DROPDOWN ComboBox

 METHODS
--------------------------------------------------------------------------------
 New             Constructor from source code
 ReDefine        Constructor for resources
 Add             Add an item to the combobox items list
 cToChar         Generates a data template to build a DialogBox
 Change          Changed event response
 Default         Default initialization
 DefControl      Register the control as a contained child of a container object
 Del             Deletes an item
 Destroy         Destroys the control
 DrawItem        OwnerDraw items painting
 FillMeasure     Calculates the dimension of an ownerdraw item
 Find            Checks if a specific string is contained at its items list
 FindString      Returns the specific index position of an item in its list
 Init            Generic initialization on DialogBoxes
 Insert          Insert an item
 LostFocus       Action to be performed when loosing the focus
 lValid          ComboBox validation when loosing the focus
 Modify          Modify the text of an item
 MouseMove       Action to be performed when moving the mouse over it
 Open            Opens the ComboBox related list
 Refresh         Forces the control to be repainted
 Reset           Empty all contents of the ComboBox and the array aItems
 Select          To select a string in the list box of a combo box by index
 Set             To select a string in the list box of a combo box by text
 SetBitmaps      To set the bitmaps to be used by the ownerdraw
 SetItems        Changes the items shown in the combobox
 ShowTooltip     Shows its tooltip
 VarGet          Retrieves the associated Clipper variable value


See Also: TControl

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