This happens to me when the anchor is set on the control. Tracy
On February 26, 2022 6:08:22 PM EST, [email protected] wrote: >Hi all > > > >I am trying to reposition controls on a form at runtime and all is working >well, except for one control (Microsoft Web Browser olecontrol). I can >adjust its width and height, but whatever I have tried fails to move the >control to a new Top and Left position on the form. > > > >I have tried setting Top and Left on the control and its object (i.e. on >MyOLEControl and on MyOLEControl.Object. I have tried in the form Init, in >the form Activate and from a command button Click event after the form has >displayed. All to no avail. > > > >Am I missing something here? I can probably resolve the problem by putting >the oleControl inside a container and then moving the container, but I would >rather not have to do that. > > > >Many thanks > > > >Paul Newton > > > > > >--- StripMime Report -- processed MIME parts --- >multipart/alternative > text/plain (text body -- kept) > text/html >--- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

