Description


The component is used to save any file to the database*, with the ability to open or export it. The component can also link to a file or folder on your computer without directly saving it to the database.


This component is assigned to a specific database field via the TableName and FieldName properties.


* It is not recommended to save files directly to the database, as it causes it to slow down.


Component properties

 Property

 Description

 TableName

 Determines which database table a component belongs to.

 FieldName

 Determines which field of the database table this component belongs to.

 BgColor

 Specifies the background color of the component.

 CopyTo

 Allows you to specify where you want the file to be copied automatically. More info.

 Font → Color

 Specifies the font color to use when displaying the text.

 Font → Name

 Identifies the typeface of the font.

 Font → Size

 Specifies the height of the font in points.

 Font → Style

 Determines whether the font is normal, italic, underlined, bold, and so on.

 Name

 Specifies the name of the component.

 Type

 Sets the method of working with a file, save to database, link to file, link to folder.

 Left

 Specifies the horizontal coordinate of the left edge of a component relative to its parent.

 Top

 Specifies the Y coordinate of the upper-left corner of a control, relative to its parent or containing control in pixels.

 Width

 Specifies the horizontal size of the control in pixels.

 Height

 Specifies the vertical size of the control in pixels.

 TabOrder

 Indicates the position of the control in its parent's tab order.

 TabStop

 Determines if the user can tab to a control.

 Visible

 Specifies whether the component appears onscreen.

 Anchors

 Specifies how the control is anchored to its parent. More info.



Additional properties

 Property

 Description

 Alignment

 Determines how the text is aligned within the text edit control.

 AutoSelect

 Determines whether all the text in the edit control is automatically selected when the control gets focus.

 AutoSize

 Determines whether the height of the edit control automatically resizes to accommodate the text.

 BevelInner

 Specifies the cut of the inner bevel.

 BevelKind

 Specifies the control's bevel style.

 BevelOuter

 Specifies the cut of the outer bevel.

 BorderStyle

 Determines whether the edit component has a single line border around the client area.

 BiDiMode

 Specifies the bi-directional mode for the component.

 CharCase

 Determines the case of the text within the edit component.

 Constraints

 Specifies the size constraints for the component.  It makes sense when using the Anchors property.

 Cursor

 Specifies the image used to represent the mouse pointer when it passes into the region covered by the component.

 Enabled

 Controls whether the component responds to mouse and keyboard events.

 HideSelection

 Determines whether the visual indication of the selected text remains when focus shifts to another component.

 Hint

 Hint contains the text string that appears when the user moves the mouse over the component. The hint will be shown if the ShowHint property = True

 MaxLength

 Specifies the maximum number of characters the user can enter into the edit component.

 ReadOnly

 Determines whether the user can change the text of the edit control.

 ShowHint

 Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the component. See also property Hint

 TextHint

 A hint or message to be displayed when the Text property is empty.

 Text

 Contains a text string associated with the component.