|
-
Aug 24th, 2001, 03:09 AM
#1
Thread Starter
Member
ActiveX
hi
I am trying to create an activex which includes a textbox.
just like a textbox has a multiline property i want my control i.e modified textbox also to have that property...when i try to set the multiline property of the control it gives me an error "read only property"
cann't i set this property?
pls help me
-
Aug 24th, 2001, 04:55 AM
#2
Hyperactive Member
I don't think the Multiline property of the TextBox is available at Runtime. Only Design Time, so you're need to set it either True or False before building your control.
Alternatively, you could have 2 text boxes if you really really needed to do that, 1 single line, 1 multi line, toggle the visibility of the each using a PropertySet in your User Control, thus giving you your functionality. Only overhead though is the naming of the controls...
Pee

Best Bar.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|