Control types for CreateControl

>CreateControl types

CreateControl types

These constants are used to specify the type of control to be created by the CreateControl() forms method. It is used in conjunction with the style attributes for that control.

DEF ENUM enumeration name KCML_CONTROL_ENUM

Enumeration ValueValueDescription
_CONTROL_UNKNOWN0No control or object
_CONTROL_FORM2Form
_CONTROL_MENU3Menu (main menu or popup)
_CONTROL_COLOR4Color object
_CONTROL_FONT5Font object
_CONTROL_PICTURE6Picture object
_CONTROL_TABBED7Tab control
_CONTROL_STATUS8Status bar panel
_CONTROL_STATIC9Static control
_CONTROL_PUSHBUTTON12Push button control
_CONTROL_RADIO13Radio control
_CONTROL_CHECKBOX14Checkbox control
_CONTROL_GROUPBOX15Groupbox control (frame)
_CONTROL_LISTBOX16Listbox control
_CONTROL_COMBO17ComboBox control
_CONTROL_GAUGE18Gauge control
_CONTROL_DBEDIT19DBEdit control
_CONTROL_PICBUTTON11Picture button control
_CONTROL_GRID25Grid control
_CONTROL_RICHEDIT26Richedit control
_CONTROL_TREE27Tree control
_CONTROL_GRAPH28Graph control
_CONTROL_EDITGROUP32Edit group container
_CONTROL_OCXCONTAINER23OCX control container
_CONTROL_ARROW29Arrow control
_CONTROL_HTML36HTML control
_CONTROL_OCX23ActiveX control
_CONTROL_OCX_DEF24ActiveX definition
_CONTROL_DATABIND34Data bind object
_CONTROL_GROUP1Control group object
_CONTROL_GRIDCELL41Grid cell object
_CONTROL_TABPAGE39Tab page object
_CONTROL_MENU_ITEM38MenuItem object
_CONTROL_LIST_ITEM40List item object
_CONTROL_TREE_ITEM42Tree item object
_CONTROL_GRAPH_ITEM43GraphItem object

Back to the list of Enumerations and Constants