Topic: Is there a way to put combo key in button?

I would like to put combo key for button which property should I change?

Re: Is there a way to put combo key in button?

Hi,
Not sure what you are needing.
Can you give more information, attach your project or a screenshot of what it is you trying to achieve.
Derek.

Re: Is there a way to put combo key in button?

derek wrote:

Hi,
Not sure what you are needing.
Can you give more information, attach your project or a screenshot of what it is you trying to achieve.
Derek.

Something like

keyboard combo for button

Ctrl + S to do save button
Ctrl + A to add add button
Ctrl + E to Edit button

combo keys to perform certain button press or task.

Re: Is there a way to put combo key in button?

At its simplest, try it something like this (see attached).
You do need to be careful that certain components (mainly the tablegrid) have focus at the time of pressing the required keyboard combinations (particularly if you have multiple tablegrids on the same form).
Derek.

Post's attachments

Attachment icon keyboard shortcuts.zip 447.11 kb, 44 downloads since 2024-07-11 

Re: Is there a way to put combo key in button?

Hi Derek, thanks for the project, concise and effective.
I have a question about the project. How can it do instant search while you are typing something on Edit1 and Edit2. I was able to do this by creating a button like your "bsearch hidde", but I had to write a short script to make it work automatically. It seems like a native function of MDV.
Thank you

Re: Is there a way to put combo key in button?

Hi Salvatore,
Two things you need to do;
1.  make sure that your edit fields are set to %s% so that it immediately starts searching as you type.
2.  set the incremental search property for each of the search fields.
Please see the attachment.
And yes, you are correct, - it is standard MVD functionality.
Regards,
Derek.

Post's attachments

Attachment icon screenshot1.jpg 93.14 kb, 17 downloads since 2024-07-11 

Re: Is there a way to put combo key in button?

It' s Powerfull. Thanks you so much.

Re: Is there a way to put combo key in button?

derek wrote:

At its simplest, try it something like this (see attached).
You do need to be careful that certain components (mainly the tablegrid) have focus at the time of pressing the required keyboard combinations (particularly if you have multiple tablegrids on the same form).
Derek.

thank you Derek