Thanks Jürgen
For an extremely clear and easy to understand explanation.
Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Jürgen Wondzinski Sent: 27 February 2022 17:00 To: profoxtech@leafe.com Subject: AW: [SPAM] RE: Problem moving controls on a form at runtime
Remember: ActiveX Controls are essentially mini Windows programs contained in their own (borderless) window. VFP creates a hole in it's own form-window where that ActiveX is then peeking through. For the user there is no visual difference, but programmatically it's a foreign module. With making it invisible, VFP just closes that hole in it's window, and then reopens it, which then forces the ActiveX module to use that hole...
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von paul.newton.hudl@gmail.com Gesendet: Sonntag, 27. Februar 2022 13:21 An: profox@leafe.com Betreff: RE: [SPAM] RE: Problem moving controls on a form at runtime
Many thanks Christof
I hadn't but I have now and it works - quite bizarre. Do you have any kind of explanation?
Paul
[excessive quoting removed by server]