Does there exist an equivalent function in FMX for ColorToRGB?
Does there exist an equivalent function in FMX for ColorToRGB ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use TAlphaColorRec to get R,G,B or longint values (in Delphi XE3+FireMonkey2 – I’m not sure about XE2)
Try this, add two buttons and a TRectangle to a Firemonkey form and add these for the onClick events: