U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
an easy way for EditDoubleNotNull to use 0 as def?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=47953&th=9974#msg_47953
EditDoubleNotNull, when field is cleared backcolor is changed, but when
setting focus to another control, there is nothing in it(it's null) - is this a bug?
Or is there an easy way to config it so default value for it is 0?]]>luoganda2017-04-26T15:10:44-00:00Re: an easy way for EditDoubleNotNull to use 0 as def?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=48146&th=9974#msg_48146
luoganda wrote on Wed, 26 April 2017 17:10
this is for v9251...
EditDoubleNotNull, when field is cleared backcolor is changed, but when
setting focus to another control, there is nothing in it(it's null) - is this a bug?
Or is there an easy way to config it so default value for it is 0?
It is no a bug. Ctrl::Accept would stop there with error (e.g. on pressing OK button).
I think it would not be a good idea to consider empty field equal to 0.