Intro:
I have a custom VCL component derived from the TCustomPanel class which purpose is to act as some kind of a custom form which has a parent (main form), but all default buttons such as maximize, minimize, close. That component was developed long before FMX and it's an important part of an existing application. The component is catching messages, overriding the Paint method etc.
The main feature of this component is to have similar functionality as a regular form (floating at runtime within it's parent, dragging ...) but with some customized graphics (smaller buttons etc...)
Task at hand:
I am working on rewriting components for FireMonkey (Delphi XE2) including this floating window as well and if there is any point to do that.
(I don't want to mix VCL and FMX because at some point I would like to have whole application in FMX.)
Questions:
Is there any existing FMX control with feature of floating / dragging / moving in runtime?
What is the approach in Firemonkey to enable for an eg. TPanel move in run time or is there a control which offers that functionality by default? I guess the whole idea in FMX is to override existing methods.
Is it possible in same application to have forms with different styles? I am thinking about creating my custom form with custom style. In that case I can have one main form (parent) and child forms which have different style.
Thanks!