PaulHInstincticve
Programmer
I have a class for edit boxes used throughout my app. Whilst in edit mode the foreground color of this class and all other form object classes is switched to black and then once the record is saved and is protected again it is switched to grey. This makes it very visible when you are or are not in edit mode. Obviously I can set the disabled color on other objects because I set enabled to .f. when not in edit mode, however, with an edit box disabling it prevents use of the scroll bars so I set it to readonly instead and change the forecolor.
All of this has been working fine until I set 'enable hyperlinks' to .t.. This now forces the foreground colour to black regardless of any setting I give it. I even tried to set it to grey in the refresh method and it completely ignored my code. If I set enable hyperlinks to .f. I regain control of my colours.
Is there a way I can control foreground colour in my editbox with 'enable hyperlinks' set to .t.? Any advice appreciated. Thanks
Paul H
All of this has been working fine until I set 'enable hyperlinks' to .t.. This now forces the foreground colour to black regardless of any setting I give it. I even tried to set it to grey in the refresh method and it completely ignored my code. If I set enable hyperlinks to .f. I regain control of my colours.
Is there a way I can control foreground colour in my editbox with 'enable hyperlinks' set to .t.? Any advice appreciated. Thanks
Paul H