Jump to content


Photo

[function] CColor - Set control colors.


  • Please log in to reply
4 replies to this topic

#1 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 17 December 2009 - 06:07 PM

C C o l o r
Set text and background color for some Gui controls.


Download   Documentation




#2 HotKeyIt

HotKeyIt
  • Fellows
  • 6119 posts

Posted 17 December 2009 - 06:20 PM

Thank you, that works really great. ;)

I think this should be definitely a build in function or command :)

#3 Delusion

Delusion
  • Members
  • 272 posts

Posted 17 December 2009 - 06:53 PM

thanks its great

found a little bug though
when i hide the gui (with gui hide) and then when i bring it up again (with gui show) the control color reverts back to normal
as soon as the mouse is over the control it gets colored again

#4 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 17 December 2009 - 09:01 PM

I can't reproduce that. If it happens, add another Win Redraw after showing.

I added sample that demonstrates how module works in most of the controls.

#5 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 18 December 2009 - 09:05 AM

Sample updated to include Attach-ing of all controls and Show/Hide of window using F1 hotkey.