|
-
Aug 7th, 2007, 10:01 AM
#1
Thread Starter
Junior Member
Restricting size of ActiveX Control
Hi
I want to fix the size of my ActiveX Control so that the user just puts it in their form and can't resize it just like the VB Timer cotrol. Please hlp. Thanks.
Last edited by mr_m_imran; Aug 14th, 2007 at 03:53 AM.
-
Aug 14th, 2007, 03:51 AM
#2
Thread Starter
Junior Member
Re: Restricting size of ActiveX Control
okay. i solved the problem by removing the raiseevent command from the usercontrol.resize event, and just put the width and height values to the desired constant value. but one thing still remains. when i resize the object from the client form using the clip controls on the left side, the whole control jumps to the new left, although keeping the original size. oh i got it, i have to put in just two lines, fixing the top and left properties too. thanks for your help
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
|