How would I get the color from the colorpicker when it's changed by the user?
The color picker is predefined picker that interacts with other native controls. We have investigated this but it is unclear how to implement an event that triggers when a color is selected. We will add this on our todolist for further investigation.
Thanks PIeter, I had a quick look at it today, and it's not that simple. One thought I had was to make a component that you can hook up to a control with an NSView (maybe a form - not sure how firemonkey implements forms - are they NSViews?). The component can make the control the first responder, and capture the changeColor event. The component can then fire an event with the color received, I think that might work.
Hi,
Here we go - create a firemonkey app, pop a TMSFMXNativeToolbar with a Color picker button, and a Tbutton on the form. Click the color picker button to display the picker, click button1 and from now on any color selected is displayed. Needs a lot of cleaning up now :-)
Thanks, we will look into incorporating this into the toolbar component as an additional event.
Great, would you have a rough idea when that would be?
Tomorrow we will release an update of TMS mCL,
Wow, that's pretty impressive. Thanks