The DBComboBox class implements the DBComboBox development environment component that displays and edits data organized as a combined list.
Property name | Brief description | |
The DataField property determines the field of the data source, which should be displayed by this component. | ||
The DataSource property links the DBComboBox component to the data set that contains the DataField field. | ||
The Field property returns the parameters of the field, with which the component is connected. | ||
The ReadOnly property determines, whether a user can change the value of the field of the current record. |
Property name | Brief description | |
DropDownCount |
The DropDownCount property determines the maximum number of items, simultaneously displayed in a drop-down list. | |
DroppedDown |
The DroppedDown property returns True if the drop-down list of a component is expanded. | |
ItemCount |
The ItemCount property returns the number of rows in a drop-down list. | |
ItemHeight |
The ItemHeight property returns the height of elements (rows) of a drop-down list. | |
ItemIndex |
The ItemIndex property determines the index of the selected element of the list. | |
Items |
The Items property returns the component rows collection. | |
MaxLength |
The MaxLength property determines the maximum length of the entered text. | |
SelLength |
The SelLength property determines the length in characters of the selected text in the component. | |
SelStart |
The SelStart property determines the position to start text selection in the component. | |
SelText |
The SelText property determines text selected in the component. | |
Sorted |
The Sorted property determines whether the rows in the drop-down list must be automatically sorted in alphabetical order. | |
Style |
The Style property determines the display style of the component. |
Property name | Brief description | |
The Align property determines component alignment within its parent component. | ||
The AllowDrag property determines whether an object can be dragged from a component. | ||
The AllowDrop property determines whether the component can accept a dragged object. | ||
The Anchors property returns settings that determine the percentage of the size change for the current component when the parent component is resized. | ||
The Brush property specifies the brush used to fill the component area. | ||
The ClientHeight property determines the height of the client component area. | ||
The ClientWidth property determines the width of the client component area. | ||
The Color property determines the background color of a component. | ||
The Cursor property determines how the cursor looks like when you hover over a component during form execution. | ||
The Enabled property determines whether a component is available for a user. | ||
The Focused property returns True if the focus is set on the component. | ||
The Font property defines the parameters of the font used to display text in a component. | ||
The Height property determines the component height (pixels). | ||
The HelpContext property determines the unique index for a section of a context help for this component. | ||
The Hint property determines the tip text displayed if the mouse pointer is hovered over a component. | ||
The HintTimeout determines the time for which the tooltip is displayed. | ||
The Left property determines the coordinate of the component left edge (pixels). | ||
The Parent property determines the parent component. | ||
The ParentColor property determines whether a component inherits the color of the parent component. | ||
The ParentFont property determines whether a component should use the font of the parent component. | ||
The ParentShowHint property determines when a tooltip is displayed. | ||
The PopupMenu property determines the context menu displayed when a component is clicked using the right mouse button. | ||
The Scrolls property returns parameters of component's scroll bars. | ||
The ShowHint property determines whether a tool tip should be displayed when you hover over a component. | ||
The TabOrder property determines the position of a component in a tab order. | ||
The TabStop property determines whether the focus is set to a component when the Tab button is pressed. | ||
The Text property determines the row identifying a component for a user. | ||
The Top property determines the coordinate of the component upper edge (pixels). | ||
The Visible property determines whether a component is displayed when a form is executed. | ||
Свойство Width определяет ширину компонента в пикселях. |
Property name | Brief description | |
The ComponentCount property returns the number of child components, located on the parent component. | ||
The Components property returns a child component, the index of which is passed via the input parameter. | ||
The Data property is used to store any custom data. | ||
The Name property determines the component name. | ||
The Tag property is not used by the compiler. The user can change the value of this property and use it at his discretion. |
Method name | Brief description | |
ClearEdit |
The ClearEdit method clears the input field. | |
SelectAll |
The SelectAll method selects all component items. |
Method name | Brief description | |
Outdated. The BringToFront method brings a component to the foreground. | ||
The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates. | ||
The DoDragDrop method enables to start drag-and-drop operation. | ||
The GetImage method returns a graphic presentation of a component together with all children. | ||
The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system. | ||
Outdated. The SendToBack method is used to send a component to the background. | ||
The SetFocus method sets focus to this component. |
Event name | Brief description | |
OnChange |
The OnChange event occurs when the text in the component edit field is changed. | |
OnDropDown |
The OnDropDown event occurs at zooming combined list . | |
OnItemSelect |
The OnItemSelect event occurs when an element is selected from the list. |
Event name | Brief description | |
The OnBeginDrag event occurs for a component, when a user starts to drag an object from the component. | ||
The OnClick event occurs if a user clicks a component area using the main mouse button. | ||
The OnControlMove event occurs when a component is moved. | ||
The OnControlResize event occurs when a component is resized. | ||
The OnDblClick event occurs if a user double-clicks a component area using the mouse button. | ||
The OnDragDrop event occurs for a component if a user drops a dragged object over it. | ||
The OnDragEnter event occurs when a dragged object crosses the borders of this component. | ||
The OnDragLeave event occurs when a dragged object leaves the borders of this component. | ||
The OnDragOver event occurs for this component when a user drags a dragged object over it. | ||
The OnEnter event occurs when a component receives focus. | ||
The OnExit event occurs when a component loses focus. | ||
The OnHScroll event occurs when the horizontal scrollbar thumb changes its position. | ||
The OnKeyDown event occurs if a component is focused and a keyboard key is pressed. | ||
The OnKeyPress event occurs if a component is focused when a user presses a character key. | ||
The OnKeyPreview event occurs prior to each event requiring clicking. | ||
The OnKeyUp event occurs if a component is focused and a user releases any button previously pressed. | ||
The OnMouseDown event occurs if the pointer is in component's area and a mouse key is pressed. | ||
The OnMouseEnter event occurs when mouse cursor enters the component area. | ||
The OnMouseHover event occurs when the mouse cursor is held in the component area. | ||
The OnMouseLeave event occurs when mouse cursor leaves the component area. | ||
The OnMouseMove event occurs on moving the cursor over component. | ||
The OnMouseUp event occurs on releasing mouse button when the pointer is in component area. | ||
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated. | ||
The OnVScroll event occurs when the vertical scrollbar thumb changes its position. |
See also: