Get Current ForeColor

PhilipAvisPhilipAvis Member Posts: 10
edited 2007-03-09 in Navision Attain
Is there a way to get current forecolor of a form? Or get the default system forecolor?

I have set the forecolor on a list and sometimes it is black, forecolor=0. However I have a visually impaired user who has set Windows to white text on a black background. He ends up with black text on a black background, which he finds quite hard to read....

(Hotblack Desiato would have loved it.)

Any suggestions?

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Well, I did a little test and it seems like the forecolor in your form is 0 instead of the default value <0> which automaticaly changes to the default windowsforecolor. It can also be some programmed value.

    I think there should be an automationcontrol to find out the windowsvalues. If you then have programmed values you can take the windowsvalues in account.

    Good luck
Sign In or Register to comment.