HyperlinkFont: ITabFont;
The HyperlinkFont property determines the parameters of formatting hyperlinks in table cells. This formatting overrides separate cell formatting.
Executing the example requires a form, a button located on this form, the TabSheetBox component with the TabSheetBox1 identifier and the UiTabSheet component used as the data source for TabSheetBox1.
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: