Hi, I wonder why in FireMonkey Mobile App Project I can not set mobile form size, form size is always device full screen size, to make a small form there is only possibility to use inputbox, messagebox etc. or creating TRectangle with some input controls. (I'm working in XE5). Please for explain,thx
> {quote:title=Remy Lebeau (TeamB) wrote:}{quote}
> arek wrote:
>
> > Hi, I wonder why in FireMonkey Mobile App Project I can not set
> > mobile form size, form size is always device full screen size, to make
> > a small form there is only possibility to use inputbox, messagebox etc.
> > or creating TRectangle with some input controls. (I'm working in XE5).
>
> Because that is just the way windows typically work on mobile platforms.
> Normal windows are full-screen, popup dialogs are not. If you want to create
> a popup window in FireMonkey, try using TPopup instead of TForm:
>
> http://docwiki.embarcadero.com/Libraries/XE7/en/FMX.Controls.TPopup
>
> --
> Remy Lebeau (TeamB)
Thx, TPopUp seems it is what I'm looking for
arek wrote:
> Hi, I wonder why in FireMonkey Mobile App Project I can not set
> mobile form size, form size is always device full screen size, to make
> a small form there is only possibility to use inputbox, messagebox etc.
> or creating TRectangle with some input controls. (I'm working in XE5).
Because that is just the way windows typically work on mobile platforms.
Normal windows are full-screen, popup dialogs are not. If you want to create
a popup window in FireMonkey, try using TPopup instead of TForm:
http://docwiki.embarcadero.com/Libraries/XE7/en/FMX.Controls.TPopup
--
Remy Lebeau (TeamB)