Results 1 to 2 of 2

Thread: ActiveX

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    50

    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

  2. #2
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    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
  •  



Click Here to Expand Forum to Full Width