Nickk
Apr 3rd, 2002, 04:47 AM
I have designed a component that has to be moved around a form at run time this is done with the ‘SendMessage’ API call. The user selects the control (Mouse Left Click) and drags it to a different point. The problem is that this control is not updating its left / top properties after it has been moved with the mouse.
I can change (set) the left / top properties at run time in my code and at design time these properties are updated when the control is repositioned with the mouse but just not at run time. Native VB components will respond correctly so they must have something that was not inherited by my control, but what is it!!
I can change (set) the left / top properties at run time in my code and at design time these properties are updated when the control is repositioned with the mouse but just not at run time. Native VB components will respond correctly so they must have something that was not inherited by my control, but what is it!!