How to colourize a custom OE Order Entry to match colour of std screen

SUGGESTED

I have noticed that an OCX dropped on userform1 does not colourize automatically the same way when you run it as standard screen

especially the caption bar on top which I guess is not really part of std screen, but the userform1  frame (Caption and so on) does not seem to have colour settings

1.  Any info on this ?

2. should the colouring that I can control be set a certain way like 'Desktop' or 'Active Title Bar' to match ?

or is it too bad so sad - it's all manual

Any help, thanks much.

Parents
  • 0

    You can get the colour code as shown below but getting the VB screen to do that yourself is some serious Windows API black magic. I found some controls that allowed you to paint a label on top of the window caption to effectively draw your own caption bar. However, that didn't handle the rest of the frame.

    I would go down the path of "too bad so sad".

Reply
  • 0

    You can get the colour code as shown below but getting the VB screen to do that yourself is some serious Windows API black magic. I found some controls that allowed you to paint a label on top of the window caption to effectively draw your own caption bar. However, that didn't handle the rest of the frame.

    I would go down the path of "too bad so sad".

Children