Thanks Dave. I've replaced the line with RaiseEvent(Thisform, "Refresh") and it works fine. I just need to wait for it to fail again :-) I'd not heard of RaiseEvent before, what can I expect to happen when it fails again?
I'm certain I haven't any subclassing although all my controls are subclasses of the originals but there is very little further code needed. The form has 2 methods to enable and disable all the controls on the form but I have been using them for years without any problem.
John
John Weller 01380 723235 07976 393631
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 13 October 2017 13:33 To: profoxtech@leafe.com Subject: RE: Odd Behaviour
John, Just try and use RaiseEvent(Thisform, "Refresh")
I know it shouldn't cause any problem but it will allow you to trace into
it.
Sure you haven't got any form subclassing code somewhere?
Dave