Hi,

Coming from Delphi 3 originally I have no experience with actions/actionlists.
Now I re-created one of my old Delphi apps, and use actions.

However I was surpised by the following observation:
If I have an action defined in my main form, lets say with shortcut
Ctrl+V, then when I show second form and make that active (so my
mainform isn't the active form), the action propagates to the second
form.

If I ShowModal the second form, the action does not propagate to it.

So:

Form2.Show -> press Ctrl+V (with second form active) -> Action is executed
Form2.ShowModal -> press Ctrl+V --> Action is not executed.

Is this supposed to happen like this (I cannot check because D3
doesn't have Actions).
I find that rather annoying.
For instance it means that any shortcut I assign to an Action on my
form, now gets processed and "eaten" if I have another form active,
for example a TFindDialog, where in this case the standard Ctrl+V wont
let me paste text in the search field (TEdit) anymore (but pastes it
in my editor where I was trying to do a search).

Bart

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to