Hi all!
I created simple framework with embedded forms based on the fact that TForm
is control. So, i can nest it in the other form. Everything was fine until
i've discovered that if BorderStyle is set to something other then None.
If BorderStyle is something other, then any control having editing window
such as TEdit doesn't respond to mouse click.
You can tab it, right click, edit contents, but not select with mouse. Check
and radio boxes behave well. Button is ok.
So i wonder if it right behaviour to such kind of windows or just a bug
somewhere in the edit inheritance tree.
To illustrate:
1. Create project
2. Put panel and button on the form.
3. Create another form
4. Create controls from standard tab on the second form
5. Go to the first form and write button click code like this
Form2.Parent = Panel1;
Form.Align = alClient;
Form2.Show;