Font Property
Description
The Font property is used to set or retrieve the font used to display the caption of tab buttons in the TabWorkspace.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property Font() As Font
Example
Changing the Font of the Tab Buttons in the TabWorkspace (Visual Basic)
This sample illustrates how to change the font used in the tab buttons in the TabWorkspace.
' The following illustrates how to change the font used for the tab button caption in the TabWorkspace
Dim TextFont As StdFont
Set TextFont = New StdFont
TextFont.Name = "Arial"
TextFont.Size = 15
TextFont.Bold = True
Set CommandBars.TabWorkspace.PaintManager.Font = TextFont
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.