Delphi FireMonkey button in tTabControl does not respond

-1

I'm creating an App with Berlin Starter Edition . I put tTabControl in Form , I created a Tab and put a tButton in it. Both tTabControl and tButton are Enabled . However when I run the program, the button does not react (with if it was not Enabled ). Anyone have any tips? Thankful.

The button does not react because in Style of tTabControl a tRectangle was entered to give background color. Although the text of the button appears, I am clicking on tRectangle . It does not help to send tRectangle back and neither button forward. You have to find another way to give background color to tTabControl other than by inserting tRectangle into Style .

Does anyone have a tip?

    
asked by anonymous 09.09.2016 / 00:41

1 answer

0

The solution is to just mark the Enabled property of tRectangle as False .

    
09.09.2016 / 01:30