DrawTextPathEllipsis Property
Description
The DrawTextPathEllipsis property is used to change the location of the ellipse "..." in the string caption of the tab buttons when the string is too long to be displayed in a tab button.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property DrawTextPathEllipsis() As Boolean
Remarks
- If set to TRUE, then when the size of a tab button is too small to display the caption, the middle of the caption will be replaced with an ellipse "...".
- If set to FALSE, then the end of the caption will be replaced with the ellipse.
Example
This sample illustrates how to use the DrawTextPathEllipsis property to change the location of the ellipse in tab captions that are too long to fit in a tab button.
' An ellipse will be drawn in the middle of tab captions too long to fit in the tab button.
wndTabControl.PaintManager.DrawTextPathEllipsis = True
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.