Clicking forms title bar in form designer does not select form lazarus / 10-Designer ---------------------------------------------------------------------- snorkel · 2012-09-07 17:46 I kind of find this annoying, when I have a form that is filled with a panel or a page control the only way to select the form is to scroll up in the object inspector and click on it there. Shouldn't click on the forms title bar select it?  It's ok if the form does not have something aligned to client as you can click where the form shows and it selects it. Is there a way to get this to work the way I expect it to? ---------------------------------------------------------------------- Knipfty · 2012-09-07 18:05 Hi snorkel, If you hit the key, you will see that the form gets selected.  I run into this when I have a object on the for that aligns with the client and takes up teh entire form. Knipfty ---------------------------------------------------------------------- taazz · 2012-09-07 18:19 No, the form's title bar selects and moves the form designer it self. As Knipfty said pressing the escape key will auto select the container that the currently selected object is in (parent property), hitting it multiple times will eventually reach the form and stop there. ---------------------------------------------------------------------- SunyD · 2012-09-08 11:32 You can select it from TreeList in Objectinspector. ---------------------------------------------------------------------- snorkel · 2012-09-10 14:58 Yes, the escape key does work, but you sometimes have to hit it multiple times to get back to the main form.  I also know I can just click it in the treeview in object inspector, but if you have a lot of stuff on the form you have to scroll all the way up and then click it. Having it select it in the treeview when you click the title bar is nice and fast with a single action, all the other ones involve multiple actions to select the form so it's events and properties show in the object inspector. In all versions of Delphi single clicking the title bar also directly selects it in the treeview in the object inspector.  there is no reason clicking the title bar could not also select the form in the treeview in the object inspector. I files a bug report in the Mantis tracker. ---------------------------------------------------------------------- Avishai · 2012-09-10 15:26 If you are just wanting to get to the Form, you can just hold down the Escape key.  It will stop when it gets to the Form. ---------------------------------------------------------------------- taazz · 2012-09-10 15:46 Quote from: snorkel on September 10, 2012, 04:58:17 pmIn all versions of Delphi single clicking the title bar also directly selects it in the treeview in the object inspector.  there is no reason clicking the title bar could not also select the form in the treeview in the object inspector. I files a bug report in the Mantis tracker. That's wrong delphi undocked designer behaves the same way also you can't select the form from its tile. I do not know about the docked designer never liked the beast and never used it my self. ---------------------------------------------------------------------- snorkel · 2012-09-12 21:07 Quote from: taazz on September 10, 2012, 05:46:06 pmQuote from: snorkel on September 10, 2012, 04:58:17 pmIn all versions of Delphi single clicking the title bar also directly selects it in the treeview in the object inspector.  there is no reason clicking the title bar could not also select the form in the treeview in the object inspector. I files a bug report in the Mantis tracker. That's wrong delphi undocked designer behaves the same way also you can't select the form from its tile. I do not know about the docked designer never liked the beast and never used it my self. Yes you can. I just tried it in Delphi Xe2 (fully docked mode) and when I click the title area of the form it selects the form in the object inspector in a single click. I am talking about clicking in the area between the form caption and the minimize/maximize buttons. Believe me in Delphi it selects the form in the object inspector. ---------------------------------------------------------------------- taazz · 2012-09-12 22:29 That's one for the dock extension to enhance, Lazarus does not support docked mode (yet?) only through 3rd party extensions. ---------------------------------------------------------------------- snorkel · 2012-09-14 17:33 Delphi does it in undocked mode as well, Lazarus does not dock the forms, so it's really the same if the ide is docked or not. Delphi has done this as far back as I can remember as clicking the forms title area should be the same as if you click in the empty form itself. ---------------------------------------------------------------------- Bart · 2012-09-15 12:05 Quote from: snorkel on September 14, 2012, 07:33:28 pmDelphi has done this as far back as I can remember as clicking the forms title area should be the same as if you click in the empty form itself. Delphi 3 does not behave like this (I know it's ancient). I have to select Form1 from the dropdownlist in OI in order to select it. Also an argument for not implementing this is: If I drag the form to another position, I would not expect, nor want, the OI to select a different component then was previously selected. Bart