EnableCommandLinks Property
Description
Specifies whether the buttons specified with AddButton should be displayed as command links (using a standard task dialog glyph) instead of push buttons. This property is ignored if AddButton has not been called.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property EnableCommandLinks() As Boolean
Remarks
Set to True to enable command links, False to disable command links and use normal push buttons.
When using command links, all characters up to the first new line character in AddButton's Text argument will be treated as the command link's main text, and the remainder will be treated as the command link's note text.
The illustration below shows command links without icons:

The illustration below shows the command link icons:
![]()
See Also
- TaskDialog Control
- AddButton Method
- ShowCommandLinkIcons Property
- ButtonClicked Event
- DefaultButton Property
- CommonButtons Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.