dimanche 19 avril 2015

FireMonkey: When I call Form2->Show(), Form2 gets maximized?

I'm using C+++Builder with Firemonkey and I'm trying to show Form2. I've included the .h file of it in Form1.cpp:



#include "Form2.h"


and now I'm trying to call it:



Form2->Show();


The form shows up, but it's full maximized (e. g. taskbar is invisible). I've looked on Form2's WindowState and it is set to "wsNormal", so why is the form maximized when I call it? Any ideas? Thanks.


Aucun commentaire:

Enregistrer un commentaire