Results 1 to 6 of 6

Thread: at runtime write-protected properties do not occure at self-built controls

Threaded View

  1. #1
    Junior Member
    Join Date
    Aug 09
    Posts
    26

    at runtime write-protected properties do not occure at self-built controls

    Hallo,
    I built an own activeX control to add additional properties to the textbox control.
    But did anybody of you notice that ALL properties (of the textbox) that are write-protected at runtime do NOT appear in the properties list of my new control? So you cannot use this property anymore.
    It is very strange!

    E.g. in my case the property 'Multiline' is not shown.
    And if I try to add the specific code manually, e.g. with:
    Text1.MultiLine = New_MultiLine

    Then the compiler throws out the error:
    "Assignment to a write-protected property not possible". Strange because this equation should be possible - at design mode!!!

    Or does maybe anybody know where the write-protection information is saved (so that I could deactivate it)?

    Hope that anybody can explain what is going on here!?
    Thank you very much.

    Many greetings
    Last edited by Softterrier; Aug 12th, 2012 at 05:53 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •