Talimat: Formdaki bir düğme ile arka plan rengini gri yap.
Kod:
GrayBtn = MyForm.AddNewProButton(ColorLyt, 'GrayBtn', '');
clComponent.SetupComponent(GrayBtn, '{"Align" : "MostLeft","Height":55,"Width":55,"RoundWidth":10,"RoundHeight":10,"BackGroundColor":"#969595","MarginLeft":6,"MarginTop":5}');
MyForm.AddNewEvent(GrayBtn, tbeOnClick, 'GrayBg');