Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Jul : What is special about tool windows

www.cryer.info
Managed Newsgroup Archive

What is special about tool windows

Subject:What is special about tool windows
Posted by:"CNemo" (mikeevte..@yahoo.com)
Date:Thu, 21 Jul 2005 10:56:58 -0400

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;

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive