Jump to content

Resize an ActiveX control at run time.


Recommended Posts


Is it possible to resize an ActiveX control at run time?

When I place the control in question on a Visual Basic form, I can set the Width property of the control at run time, but in AutoIt if I try to set Width at run time I get the error "the requested action with this object failed".

The reason I am asking is because Koda does not seem to keep the size of an ActiveX object on a form, if the form is closed and then re-opened. So I am currently having to resize the control manually each time I alter the GUI in Koda.

Or possibly I could just create the control object at run time, but it exists within a group within a tab, so how would I create the control inside the group inside the tab?

I would appreciate any suggestions.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...