Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi,
I have a table on webvisu with array of 100 BOOL.
When I click on cell of table, I change value true to false or false to true.
I want solution to fill fastly cell by click on first line of table and press hold ctrl (or over key), and next click on second line : if value on first cline is TRUE, put automatically TRUE until second line.
How to detect Ctrl key hold ?
Thank you for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, it work. I forget function VisuInit on visualisation manager.
But I want only detect Ctrl or Alt, and this programm detect all other but not this one...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a table on webvisu with array of 100 BOOL.
When I click on cell of table, I change value true to false or false to true.
I want solution to fill fastly cell by click on first line of table and press hold ctrl (or over key), and next click on second line : if value on first cline is TRUE, put automatically TRUE until second line.
How to detect Ctrl key hold ?
Thank you for your help.
have a look at the visu event handler project:
https://forge.codesys.com/prj/codesys-example/visu-event-hand/home/Home/
The key event project demonstrates, how to detect key event incl. modifiers like ctrl...
I dont understand how it work, when I put this code on raspberry, nothing happen...
Ok, it work. I forget function VisuInit on visualisation manager.
But I want only detect Ctrl or Alt, and this programm detect all other but not this one...
I don't understand how it work...
When keys is release, variable keep the value of keys....