[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomDBComboBox - a Data-aware Combo Box for displaying information from a Database
Source position: dbctrls.pp line 663
type TCustomDBComboBox = class(TCustomComboBox) |
||
protected |
||
procedure DataChange(); virtual; |
|
DataChange - updates any changes in text |
procedure ActiveChange(); |
|
ActiveChange - method to process a change in the Active state |
procedure EditingChange(); virtual; |
|
EditingChange - method to process a change in the Editing state |
procedure Notification(); override; |
||
procedure Change; override; |
|
Change -if there has been a change to the data the link must be notified, then inherited Change is called |
procedure UpdateData(); virtual; |
|
UpdateData - implements any pending changes in the data |
procedure FocusRequest(); virtual; |
|
FocusRequest - sets focus in response to a request to do so |
procedure Loaded; override; |
||
procedure UpdateText; virtual; |
||
public |
||
constructor Create(); override; |
||
destructor Destroy; override; |
||
procedure EditingDone; override; |
|
EditingDone - what to do when you have finished editing; calls the OnEditingDone event handler if assigned |
|
The Field to which this combobox is attached |
|
property Text; |
|
Text - the string appearing in the main box. If an item on the drop-down list is selected, it replaces the contents of Text |
property ItemIndex; |
|
Index - the number of the currently selected item (starting at zero) |
property DataField: String; [rw] |
|
The name (as a string) of the Feild whose data are to be linked to the ComboBox |
property DataSource: TDataSource; [rw] |
|
The identity of the DataSource to which the ComboBox is attached |
property ReadOnly: Boolean; [rw] |
|
ReadOnly - if True, information in the control can only be Read, not Written or Deleted |
end; |
|
TCustomDBComboBox - a Data-aware Combo Box for displaying information from a Database |
|
| | ||
|
TCustomComboBox - the base class from which TComboBox is derived |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
|
HowToUseDataAwareControls - Hints for accessing databases |
lazarus-ccr.sourceforge.net |