Results 1 to 2 of 2

Thread: Restricting size of ActiveX Control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2007
    Posts
    16

    Resolved 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.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Aug 2007
    Posts
    16

    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
  •  



Click Here to Expand Forum to Full Width