Text Property Custom

hillimonster

New member
Joined
Aug 18, 2007
Messages
1
Programming Experience
1-3
I am making a Custom Control, using a TextBox and Panel. I have a String that is used as "MiscText" in the Control. How do I get the property to behave like Text and have the "scrollable" text window pop-up in the property are instead of one long line of text? Is this a function of using a string valve as the object or is there something I have to enable. I have search for the answer to this but I am probably not asking in the right terminology.
Thanks for any help!
Hillimonster
 
use this attribute:
VB.NET:
Expand Collapse Copy
<System.ComponentModel.Editor("System.ComponentModel.Design.MultilineStringEditor," & _
 "System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", _
 GetType(System.Drawing.Design.UITypeEditor))> _
 Public Property MiscText() As String
...
 
Back
Top