borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Can\'t explain why! Please Help!ActiveX Component Can\'t Create object)Next Topic (Transparency) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : MultiLine in TextBox
Poster Message
hitech_huzefa
Level: Scholar

Registered: 23-06-2005
Posts: 40

icon MultiLine in TextBox

Hi Friends
Happy New Year to you all.

I am trying to make my own TextBox Control, I have done
with all the properties a normal textBox contains. I am stuck with Multiline Property, it returns an error (cannot assign to Read-Only property) can anybody tell me how to add Multiline property in my user Control like it has in normal TextBox Control.

05-01-2006 at 05:41 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon Re: MultiLine in TextBox

Hi,
MultiLine is a design-time-only feature and is set when the textbox is created at runtime.
I would suggest your control has 2 textboxes, 1 in single and the other in multiline. Then direct the text property let to both of them. Toggle which one is visible by the property on your usecontrol.
Hope this helps,
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

05-01-2006 at 10:03 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : MultiLine in TextBox
Previous Topic (Can\'t explain why! Please Help!ActiveX Component Can\'t Create object)Next Topic (Transparency) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder