Step 5 - Test the FireMonkey Primitive Component

From Appmethod Topics
Jump to: navigation, search

Go Up to Creating a FireMonkey Primitive Control

Going back to the TestRegularPolygon unit, you can see in the Form Designer, that the instance of the TRegularPolygon component shows a triangle.


In the Form Designer, select the TRegularPolygon component. You can see, that the new NumberOfSides property (whose default value is 3) appears in the Object Inspector. Change the NumberOfSides value to ensure that this component works as expected.