[Lazarus] IDE

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri Jun 29 13:50:57 CEST 2012

Le 27/06/2012 17:31, Mattias Gaertner a écrit :
> On Wed, 27 Jun 2012 16:08:00 +0200
> Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:
>> Le 27/06/2012 15:07, Mattias Gaertner a écrit :
>>> On Wed, 27 Jun 2012 14:24:20 +0200
>>> Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:
>>>> Hi all.
>>>> I don't know whether this is a bug or not but it is annoying anyway:
>>>> A form is displayed
>>>> I drop a TButton on it
>>>> I put the focus on the Tbutton (or any other component on the form)
>>>> I hit the Enter key and:
>>>>        focus is redirected to the objects inspector: OK
>>> Not ok.
>> What do you mean ? In my opinion It is the same behaviour as Delphi
>> because my main purpose is to change something in the object's
>> properties.
> Sorry. You are right. vk_return shows and focusses the object inspector.
>> At the same time I would like to have the same behaviour
>> backwards: when the Enter key is hit on some property or event, focus
>> should return to to the object on the form whose properties have just
>> been changed. This way of jumping allows a keyboard travel from and to
>> the form and the properties inspector without using the mouse.
> Currently implemented:
> If in the name column focus the edit column.
> If in the edit column then commit the changed property.
> No focus change.
> So you can change a value, type Return to see the effect,
interesting if the form is showing, but this not the case, actually.
>   change the
> value again or go to another property.
>>>>        the form is hidden (this is annoying)
> It is not hidden here.
>>>> This behaviour is different from the one of Lazarus 0.9.31 I have on
>>>> another computer.
>>>> To display the form again, the F12 has to be pressed twice instedad of once.
>>>> I have to mention that I'm currently working on Lazarus 1.1 37027 as of
>>>> april 26, 2012, FPC 2.6.1, Win32 Vista
>>>> The desktop uses the docked windows.
> Current trunk is at 37799. Can you test with
> a more recent version?
still with docked IDE
installed 1.1 as of 29/06/2012 rev#37816 and same behaviour:
1. form is displayed, select a component, hit Enter, the form is hidden 
and inspector is focused, change some properties, F12 nothing happens, 
F12 again and form is diplayed again

2.form is displayed and active, object inspector is displayed, click on 
any property and the form is hidden

In both cases the code editor remains visible
> Mattias
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

More information about the Lazarus mailing list