Le 27/06/2012 17:31, Mattias Gaertner a ?crit :
Show quoted text 33 lines
On Wed, 27 Jun 2012 16:08:00 +0200
Antonio Fortuny wrote:
> Le 27/06/2012 15:07, Mattias Gaertner a ??crit :
>> On Wed, 27 Jun 2012 14:24:20 +0200
>> Antonio Fortuny 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.
Show quoted text 16 lines
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 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
Show quoted text 8 lines