What you want to create is shown in the following screenshot:
There are three images in the left-hand side gray list and zero images in the red list on the right-hand side. Click on an image; the clicked image will slide to the opposite list (gray to red or red to gray) using a nice animation. The steps to reproduce the images are as follows:
- Create a new FireMonkey desktop application.
- Drop two TRectangle components on the form. Align the first one on the left-hand side and call it LeftRect, and the second one to the right-hand side and call it RightRect, as shown in the screenshot ...