By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,639 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,639 IT Pros & Developers. It's quick & easy.

Make a property have a multiline style editor

P: 28

I'm making this tooltip control. When the user adds it to the form I want the TooltipText property to have a large textbox editor (similar to the multiline property of the Textbox control).

My code:
Expand|Select|Wrap|Line Numbers
  1. Private _tooltipText As String
  2.         Public Property TooltipText As String
  3.             Get
  4.                 Return _tooltipText
  5.             End Get
  6.             Set(value As String)
  7.                 _tooltipText = value
  8.                 Me.Invalidate()
  9.             End Set
  10.         End Property
This is what I am aiming for:

Thanks in advanced,
Feb 22 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.