Hi
After further checking it seems that somebody decided to define a new set of constants for colours, hard coded to the colours they had in their user profile. At various points they used the system defaults and other points the constants. I was searching for standard
vb colours and not finding any (eg the background was the same as vbgray so search the app for vbgray) therefore I though I had a problem.
Eventually tucked away in a module (obscurely named) I found the constants and assigned them to system defaults and now the form colours seem to behave correctly (with the exception of some forms that have colours assigned from the user palette rather that the system pallet)
Thanks for your responses.
Daz