PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → How to assign a shortcut like Alt+Ctrl+3 to a runtime-created Menu-Option
How to assign a shortcut like Alt+Ctrl+3 to a runtime-created Menu-Option
Iniciado por meikl, 11,ago. 2016 16:17 - 7 respuestas
Miembro registrado
127 mensajes
Publicado el 11,agosto 2016 - 16:17
as subject

How to do?

Thanks

Meikl:)
Miembro registrado
127 mensajes
Publicado el 11,agosto 2016 - 16:18
btw. AAF is disabled!
Miembro registrado
102 mensajes
Publicado el 12,agosto 2016 - 09:48
How about ..ShotcutKey?


http://doc.windev.com/en-US/…

HTH
Sebastian

--
http://arnoldconsult.de
WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Miembro registrado
127 mensajes
Publicado el 12,agosto 2016 - 10:23
Not available for Menu-Option :(

Thanks for the try, Sebastian :)
Miembro registrado
127 mensajes
Publicado el 12,agosto 2016 - 10:32
got this
Error at line 2 of Click BTN_NoName1 process.
The ShortcutKey property does not apply to RuntimeMenuOption control. Control Type: Menu option.

by using
MenuAddOption(MENU_POP,"RuntimeMenuOption","Created at Runtime",showControlName)
{"RuntimeMenuOption"}..ShortcutKey = skAlt+skShift+VK_F10
Miembro registrado
127 mensajes
Publicado el 17,agosto 2016 - 11:12
currently solved this (ugly)

by creating additional a button (visible with 0-width and 0-height = invisible) and assigning the shortcut there
Publicado el 17,agosto 2016 - 14:05
Hi Michael,

you can simply pt your button outside screen (on the left of your
window), so you can see it in the editor.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 8/17/2016 à 3:12 AM, Michael KRETZSCHMAR a écrit :
currently solved this (ugly)

by creating additional a button (visible with 0-width and 0-height =
invisible) and assigning the shortcut there
Miembro registrado
127 mensajes
Publicado el 17,agosto 2016 - 14:41
Hi Fabrice,

its runtime-Created ...

meikl :)