property Grid.FormatAnchor(New as Boolean) as String
Specifies the visual effect for anchor elements in HTML captions.
New as Boolean
A Boolean expression that indicates whether to specify the anchors never clicked or anchors being clicked.
A String expression that indicates the HTMLformat to apply to anchor elements.
By default, the FormatAnchor(
) property is "<u><fgcolor=0000FF>#" that indicates that the anchor elements ( that were never clicked ) are underlined and shown in light blue. Also, the FormatAnchor(
) property is "<u><fgcolor=000080>#" that indicates that the anchor elements are underlined and shown in dark blue. The visual effect is applied to the anchor elements, if the FormatAnchor property is not empty. For instance, if you want to do not show with a new effect the clicked anchor elements, you can use the FormatAnchor(
) = "", that means that the clicked or not-clicked anchors are shown with the same effect that's specified by FormatAnchor(
). An anchor is a piece of text or some other object (for example an image) which marks the beginning and/or the end of a hypertext link. The
element is used to mark that piece of text (or inline image), and to give its hypertextual relationship to other documents. The control fires the
event to notify that the user clicks an anchor element. This event is fired only if prior clicking the control it shows the hand cursor. The AnchorClick event carries the identifier of the anchor, as well as application options that you can specify in the anchor element. The hand cursor is shown when the user hovers the mouse on the anchor elements.
Send comments on this topic.
. All rights reserved.