R
R
Romanson2016-12-01 12:05:27
Delphi
Romanson, 2016-12-01 12:05:27

How to programmatically change color of FMX.TButton in Delphi FMX?

Greetings, dear, the fact is that I'm trying to programmatically change the color of the button and its position through Align, but I can't use it either way:

button1.TintColor:='Yellow';
button1.Align:='Top';

What am I doing wrong?
ANSWER:
Сменить цвет
button1.FontColor:=TAlphaColorRec.Yellow;
Сменить положение
button1.Align:=tAlignLayout.Top;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Romanson, 2016-12-01
@Romanson

figured out

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question