Common Properties

Before diving into an examination of the individual components, the common elements of all of the data-aware controls will receive our attention. The table in Figure 6.1 summarizes the common published properties that carry the same contextual meaning between all of the components. The majority of these are familiar to experienced Delphi developers because they have the same usage and purpose when used with the non-data interface controls. Additionally, there is a small subset of properties that is unique to the data-aware versions of these controls.

Property

Anchors

BiDiMode

Ctl3D

Cursor

DataField

Default Value

This TControl setting determines how a control lines up to its container or parent control.

Determines how a control is anchored to its parent control Four- options Top, Bottom.

Left. Right_

This property specifies the BlDireCtional mode for the control, which determines the reading order for text and the placement of the scroll bar

True

If True, the associated control will have a beveled, three dimensional appearance When False, the control w'" have a fiat appearance See ParencCtl3D

crDefault

Determines which cursor image is displayed when It passes over this control.

This property associates the control with a Single field from the dataset connected to the DataSource component.

DataSource connects the data-aware controls to a specified dataset object.

Default Value Purpose

Default Value Purpose

DragCursor

HelpContext

DragCursor crDrag

DragKind

DragMode

Determines the drag and drop behavior of the control.

DragKind

DragMode

Determines the drag and drop behavior of the control.

This specifies the reason for the control being dragged; docking_ or normal dragging.

Font Height

This set of properties controls the attributes of text displayed . by the control._

Font Height

HelpContext

ImeMode

Hint

ImeMode

ImeName

ImeName

Name

ParentBiDiMode

Specifies a context menu to associate with this control.

DkDrag

ImDontCare

True

Determines which cursor image is displayed^ when the control is being dragged.

This specifies the reason for the control being dragged; docking_ or normal dragging.

Determines which cursor image is displayed^ when the control is being dragged.

This set of properties controls the attributes of text displayed . by the control._

The display height of the component

This value is utilized to determine what page in online help is displayed when the: application's user presses the F I key.

The text of the fly-over hint message that is displayed for this control. This property determines the behavior of the input Method Editor, a conversion toot for translating characters when input._

The display height of the component

The text of the fly-over hint message that is displayed for this control. This property determines the behavior of the input Method Editor, a conversion toot for translating characters when input._

Specifies the IME (Input Method Editor) to use as the front-end processor for Asian language characters. The default internal name for this component.

Determines whether or not this control uses its parent's , BiDiMode setting. Determines whether or not the component-' will use the same color properties as its parent.

This property determines whether or not the control will use its parent's Ctl3D property setting.

Determines where a control will look for its font information.

When True, the control will use the ShowHint property setting of its parent. If False, the control's behavior is determined by its own setting.

Specifies a context menu to associate with this control.

ImDontCare

ParentBiDiMode

True

Property

Default Value

Purpose

ReadOnly

False

This property determines whether or not the user can modify the data contents of the control.

ShowHint

False.

Determines whether or not fly-over help is., displayed for this control.

TabOrder

A numeric value specifying the control's tab position in its parent's TabOrder list.

Tag

0

This property is for the developer's use.

Visible

True

This property determines the component's visibility, at. run. time..

Width

This specifies the component's width for display purposes.

Figure 6. / Common Properties among the data-aware components

Figure 6. / Common Properties among the data-aware components

Was this article helpful?

0 0

Post a comment