TransparentPanel is not just a container for your iPack controls. It several important features which will help your application to stand out of the crowd. If you want to group your controls or underlay them with images or basic shapes, the TransparentPanel is the best way to do this. You can make it semi-transparent and thus create a translucent glass effect in your application.
TransparentPanel supports transparency itself. If you place it into any iPack control which can be used as a control container (e.g., TForm, TabControl, … ) you can set the opacity for it. That way you can experience a translucent effect, and you will see the underlying parent container trough TransparentPanel. It also serves as a parent container for other iPack child controls which can also be made semi-transparent.
TransparentPanels background can be filled with a rounded corner gradient with border, or you can even set a PNG image in the background and set its alignment or stretch it to fill the entire panel. That’s just the beginning of the story. You can even add graphical shapes (so called primitives) to be drawn in the background. They have bounds, you can anchor them as you are familiar with windows forms controls and you can move and resize them. But we went even further with this unique type of panel and allowed to add child primitives to the primitives thus creating graphical objects which are then drawn into the background of TransparentPanel.
There are these basic graphics primitives to choose from: circle, vertical or horizontal line, gradient filled rounded rectangle or PNG image. You can combine and embed them to create a graphical background for a part of your application.
If the graphical primitives are anchored they will move and resizes themselves in the same manner as your controls in the foreground added to the panel. Their relative location and size will remain the same, when you resize the panel.
Finally, if the graphical objects we created are not enough, you can create your own by inheriting from the PrimitiveBase (base class) and implementing your own drawing logic.
Add custom graphical objects to the background.
Support of PNG images