|
| Sort Tables with doubleclick |
| Iniciado por guest, 17,nov. 2015 18:33 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 17,noviembre 2015 - 18:33 |
Is there a way to sort columns with double click event instead simple click on headers? I'm porting an old desktop app where sorting was performed like that and clients wanted to keep that behaviour... I tried do trap the double click event on headers but I wasn't able to get it.
Thank you. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,noviembre 2015 - 01:31 |
Hi ,
You could add the left button dubbelklik event to the whole table. Or put a button above the table and add the leftbutton dubbleklik event to that button?
Regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,noviembre 2015 - 02:15 |
| Tried but the header seems not to be hippy with that event.. It does not trigger dbl click |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,noviembre 2015 - 10:29 |
Hi. You could remove the heather from the table and place buttons above the table. Then make the buttons look like they belong to the table and ad the sort code to the event dubbelklik on the button.
Regards allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,noviembre 2015 - 11:42 |
I feared this would be the only solution... Thank you, maybe I shoud get clients used to the single click for sorting. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,noviembre 2015 - 11:47 |
Hi,
My sugestion is capture the event and then define an action.
For example, the following two lines, when placed in the window initialization, capture the mouse left click on table header and then executes the ProcedureName.
WM_EVENT is int = 0x0400+505 Event("ProcedureName","TableCaptureName",gnWM_USER)
You can investigate this method and test it to discover if it works in your situation.
Regards, Bruno |
| |
| |
| | | |
|
| | | | |
| | |
|