EnableHyperlinks Property

Specifies whether hyperlinks are displayed and enabled within an EditBox or TextBox control. Read/write at design and run time.

Object.EnableHyperlinks [ = lExpr ]

Parameters

  • lExpr
    Logical data type. The following table lists the values for lExpr.
    lExpr Setting
    True (.T.) Enables display and activation of URL hyperlinks within the control.
    False (.F.) Displays hyperlinks support within the control. (Default)

Remarks

Setting the global Enable Hyperlinks option in the Options dialog box affects EnableHyperlinks, which you can set at run time using _VFP.EditorOptions. If you turn off hyperlinks globally, Visual FoxPro disregards EnableHyperlinks and does not activate hyperlinks.

As within the editor, the activation of a hyperlink depends on the _VFP.EditorOptions setting (whether click or CTRL+Click goes to the link).

If a form's ShowTips property is set to True (.T.), Visual FoxPro displays a value tip such as "CTRL+Click to follow link" when you move the mouse over the hyperlink. If a value is specified for the ToolTipText property, Visual FoxPro displays the ToolTip text when your mouse moves over any non-hyperlink portion of the control.

See Also

Properties | Editor Tab, Options Dialog Box | _VFP System Variable | EditorOptions Property | ShowTips Property | ToolTipText Property

Applies To: EditBox Control | TextBox Control