Skip to main content

TcxDBHyperLinkEdit Class

A data-aware hyperlink editor.

Declaration

TcxDBHyperLinkEdit = class(
    TcxCustomHyperLinkEdit
)

Remarks

The hyperlink editor allows a user to edit text and display it as a hyperlink. A click or double click on the hyperlink activates the default web browser on a user’s system. The hyperlink editor also allows a user to execute a system command if it can be recognized (for example, open a file or run a program).

Example

The editor’s Properties.SingleClick property specifies the hyperlink editor behavior. If the Properties.SingleClick property is set to True, a user can execute the command typed in the edit box with a mouse button click. If a Properties.SingleClick property value is False, the editor activates the command when a user double-clicks in the edit box. A user can also press the keystroke specified in the Properties.StartKey property to execute the command.

Note

When a user hovers over the enabled hyperlink editor’s text, the mouse pointer automatically changes to an upward pointing hand (that is, the screen‘s Cursor property is set to crHandPoint).

The TcxDBHyperLinkEdit control is a data-aware version of the unbound hyperlink editor. This control introduces the DataBinding property that allows you to bind the control to a dataset field.

The TcxDBHyperLinkEdit class members allow you to do the following:

See Also