HyperlinkFont: ITabFont;
The HyperlinkFont property determines the parameters of formatting hyperlinks in table cells. This formatting overrides separate cell formatting.
To execute the example a form, a button on this form, the TabSheetBox component with the TabSheetBox1 identifier and the UiTabSheet component, which is the data source for TabSheetBox1 are required.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Tab: ITabSheet;
Style: ITabCellStyle;
HypFont: ITabFont;
Begin
Tab := TabSheetBox1.Source.GetTabSheet;
Style := New TabCellStyle.Create;
HypFont := Style.Font;
HypFont.Color := GxColor.FromName("Red");
HypFont.Size := 12;
HypFont.Underline := TriState.OnOption;
Tab.HyperlinkFont := HypFont;
End Sub Button1OnClick;
As a result, for hyperlinks, displayed in the TabSheetBox1 component, unified formatting will be used.
See also: