Posted 19 years ago by JohnH
Avatar
Can a System.WinForms.ToolTip be attached to a button(s)? If so, how?

I'd like to have the option of attaching a unique tooltip to each button. For example, a Finish button on a welcome page may have a different tooltip than a Finish button on some other page.

Thanks.

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi John,

You can iterate recursively through the Controls in the Wizard control to find the Buttons and scan each's label to get a direct reference to each Button. Then you can probably use the ToolTip to assign a tooltip to each Buttons. However the Buttons are reused for each page so you'd probably have to update your tooltips when the SelectionChanged event fires.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.