Palette control (type alpha) does not return alpha value

I can't get the palette control (paltype="alpha") to return anything but 00 for alpha value.
Having the alpha attribute set on the control from the editor does change the value format from #RRGGBB to #RRGGBB00 but the last two characters are always 0.

Simple button to demonstrate:
Alpha Color Chooser.dcf (2.4 KB)

Whenever color is changed, the static control label is updated with palette control value:


Side question: the only way to set the palette type (alpha, default, transparent, standard) is through the UI designer: there is no property to activate/change that at runtime. Would it be something possible to implement or is it too complex (they might be different objects)?

Thanks for the report! That's fixed for the next beta. We'll also add a way to change the palette type at runtime.