What is the standard BackColor ?

frgusto
frgusto Member Posts: 32
In a form the standard value in the BackColor property is <14215660>.
But if I create a subform and set BackColor to 14215660, it do not look the same at all as the main form.

After some experimenting we found that BackColor 16185078 look very close to the main form back color. But its only true when using XP theme, when using XP classic it looks crap.

I'm a bit confused here. :roll:

Comments

  • SteveO
    SteveO Member Posts: 164
    Navision is probably reading the System Control colour from the current theme in use (or a user defined colour) and not using a hard coded value.

    This would ensure consistency with other applications running on the system.
    This isn't a signature, I type this at the bottom of every message
  • kine
    kine Member Posts: 12,562
    Yes, the standard color from system informations are used. But you can read the value through some external dll or tool. You just need the result of GetSysColor(15) and that's all... :-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.