|
-
Mar 29th, 2002, 11:47 AM
#1
Thread Starter
Member
OK i done this. But now the the usercontrol myuser1 doesn;t show in the form.What is going wrong;
-
Mar 31st, 2002, 05:06 AM
#2
Frenzied Member
Are you setting the visible property of the dynamically added control to true explicitly??? It's False by default...
-
Mar 31st, 2002, 12:00 PM
#3
Thread Starter
Member
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?
-
Mar 31st, 2002, 11:28 PM
#4
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|