On Tuesday 05 June 2018 18:03:29 fredvs wrote: > > It is that I have to add a line in original formdesigner.pas. > > In proc designkeyevent(), at line 3964, > ... > selectcomponent(comp1); > > activate; // this added > > Otherwise, it is the Object Inspector that is focused and pressing Esc has > no effect. > Works for me. Maybe there is another bug?
> With activate, the designerform has focus again and Esc works. > > I would highly prefer to not touch to anything about > MSEFormDesigner/ObjectInspector/Components and always use the original but > here, I fall. > > Or maybe for you adding "activate ;" at line 3964 in original code would > not be too painful... > formdesigner.zip > <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/formdesigner.zip> > I don't like to add functionality in order to hide a bug because that often has sideeffects which show as bugs later. Bugs must be fixed not circumvented IMHO. Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

