Page 1 of 1

[Done] Color Conversion from old code

Posted: Fri May 17, 2013 11:59 am
by Klonk
Maybe you can just fix the conversion of old code, when addding to form source view:
e.g. pasting

Code: Select all

SetGadgetColor(#Text_39, #PB_Gadget_FrontColor, $FF4F4F)
then switching code/form view twice, results in following code:

Code: Select all

SetGadgetColor(#Text_39, #PB_Gadget_FrontColor,RGB(0,0,79))
Either the Hexnumer should be left alone or changed properly to RGB(255,79,79)

Re: [PB5.11 Bug] Color Conversion from old code

Posted: Thu Jul 25, 2013 12:45 pm
by Polo
Actually there was no code that converted that, luck it didn't crash I would say!
I've added a code to convert the colour which should work properly, well spotted!