Results 1 to 4 of 4

Thread: Problem ActiveX_Very Important

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2001
    Location
    Greece
    Posts
    41
    OK i done this. But now the the usercontrol myuser1 doesn;t show in the form.What is going wrong;

  2. #2
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    Are you setting the visible property of the dynamically added control to true explicitly??? It's False by default...

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2001
    Location
    Greece
    Posts
    41
    I know that, but the usercontrol itselft it hasn't the property of visible. How could i declare dynamically(inside of the class module) the property of the visible true if this property does't exist. This property exist only when i put the usercontrol myuser1 into the form(frm1). Any suggestion?

  4. #4
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011
    Do you mean that the control you made doesn't have the visible property?? I think it's common( and essential sometimes) that u give such properties... well...if your control doesn't have the property, does it have hwnd property??? I am afraid you'll have to use API..
    I can't understant what do you mean by saying that the visible property is only available on Form??? if the visible property is there it must also be present in Code (unless you specify Design time-only)
    Could u be clearer?

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