473,322 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Make a property have a multiline style editor

Hi,

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
  11.  
This is what I am aiming for:



Thanks in advanced,
Josh.
Feb 22 '13 #1
0 895

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

Similar topics

1
by: James | last post by:
wxpython 2.5.3 hi, anyone know how to make a multiline cell editor for wxgrid? thank you :) best regards, James
15
by: Pasta Bolognese | last post by:
Open VS.2003. Click on a control on an aspx page in the HTML view. Does it tell me the pixel position on the page? Nooooooooooo.................
2
by: alex bazan | last post by:
Is it possible to retrieve a property from a defined style in a style sheet? for example, if i have: <style> .mystyle {background-color:#ff0000} </style> how can retrieve the background...
2
by: Tim Pacl | last post by:
I am building a Custom Placeholder control for MCMS 2002 which gives a translucent background to the control. I want to add a "Style" property and use the standard style editor which is available...
0
by: Simon | last post by:
Hi I have developed a custom webcontrol like a Table (A) with a rows collection property (collection derived from CollectionBase) where I put one or more custom webcontrol (B). I need to hide...
1
by: moondaddy | last post by:
I'm writing a winforms app in vb.net 1.1 and want to know if there's a way to dynamically change a property in a business class from readwrite to readonly and back again. The next thing I want to...
0
by: Abdellah Elamiri | last post by:
When I use the style editor in Design mode, the Style editor window keeps closing abruptly. It flash for a second then it closes. Sometimes, VS 05 terminates without notice when I try to use the...
2
by: ME | last post by:
I have a property that is a generic list of type IAddress (List<IAddress>). When I attempt to view this property using the Property Grid control it plainly says "Collection" and offers the typical...
3
by: vishal1082 | last post by:
well, i wanna make property inside a property for example see in System.Environment.OSVersions.Version , .Version is a property and thrs Major and Minor properties inside it, i wanna have...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.