Recent

Author Topic: Missing IDE keymapping for Open Recent Project  (Read 277 times)

howardpc

  • Hero Member
  • *****
  • Posts: 3068
Missing IDE keymapping for Open Recent Project
« on: July 11, 2019, 10:50:20 am »
I cannot find a mapping to assign a key combination to Projects->Open Recent Project.
Is it is fact missing? If so, is there a compelling reason for this?

FTurtle

  • Sr. Member
  • ****
  • Posts: 255
Re: Missing IDE keymapping for Open Recent Project
« Reply #1 on: July 11, 2019, 01:04:49 pm »
I cannot find a mapping to assign a key combination to Projects->Open Recent Project.
Is it is fact missing? If so, is there a compelling reason for this?

Because it is not a command. It is just a submenu. It cannot be placed at toolbar and key combination cannot be assigned.
But if it is necessary, "Open Recent Project" may be implemented as command like "Goto Bookmark" (Ctrl+B) with standalone menu or separarte form.
The same sutuation with submenu File/OpenRecent.

howardpc

  • Hero Member
  • *****
  • Posts: 3068
Re: Missing IDE keymapping for Open Recent Project
« Reply #2 on: July 11, 2019, 02:51:27 pm »
But there is no reason, in principle, why a (new) IDECommand could not be assigned to the opening of a submenu, or is there?

lucamar

  • Hero Member
  • *****
  • Posts: 1942
Re: Missing IDE keymapping for Open Recent Project
« Reply #3 on: July 11, 2019, 03:11:25 pm »
But there is no reason, in principle, why a (new) IDECommand could not be assigned to the opening of a submenu, or is there?

Beyond the inherent difficulty of opening a submenu by code in a cross-platform way? No, not really. Although it would, maybe, be easier if the IDECommand opened a "Recent projects" window instead.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

FTurtle

  • Sr. Member
  • ****
  • Posts: 255
Re: Missing IDE keymapping for Open Recent Project
« Reply #4 on: July 11, 2019, 04:53:49 pm »
But there is no reason, in principle, why a (new) IDECommand could not be assigned to the opening of a submenu, or is there?

No problem. I will try to implement it.

howardpc

  • Hero Member
  • *****
  • Posts: 3068
Re: Missing IDE keymapping for Open Recent Project
« Reply #5 on: July 11, 2019, 08:49:45 pm »
Thank you.