XWidgetSoft Forum
https://bbs.xwidget.com/

HELP: colour changes applied incorrectly in code CLOSED
https://bbs.xwidget.com/viewtopic.php?f=8&t=6351
Page 1 of 1

Author:  yereverluvinuncleber [ June 4th, 2016, 6:56 pm ]
Post subject:  HELP: colour changes applied incorrectly in code CLOSED

Colour changes in code do not apply.

Created two edit fields, then changed the colour in code.

edit1sensor1.Background.Color=(0,0,0,255);
edit2sensor1.Background.Color=(0,0,0,255);

The changes then occur but the colour is very wrong, always changes to grey regardless of the colour you choose.

BUG.

Author:  meme [ June 4th, 2016, 10:11 pm ]
Post subject:  Re: BUG: colour changes applied incorrectly in code

Try
edit1sensor1.Background.Color= rgba(0,0,0,255);
seem to work for me.

Author:  yereverluvinuncleber [ June 5th, 2016, 7:04 am ]
Post subject:  Re: BUG: colour changes applied incorrectly in code

In win10 I only receive one colour, try changing the colour and see what happens.

Author:  yereverluvinuncleber [ June 5th, 2016, 11:37 am ]
Post subject:  Re: BUG: colour changes applied incorrectly in code

A reboot and it is working for me now, not sure why, no changes. Testing now.

Thanks for the help.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/