When creating a new topic and typing the Subject, my browser hinted the subject of this post, which triggered me to look at it, only to be pleasantly surprized it was a post of my own, with exactly the same feature request I was just about to enter ![Very Happy :D]()
Any word on this feature? I’m in the process of building another app, where I need to accomplish the same functionality as described before.
Scenario:
Got a TableView and want to trigger different actions if a record gets selected (by whatever means: selected by a mouseclick, selected by using the arrow up/down keys) in combination with pressing the Control or Shift key:
Shift+mouseselect: Select all records between previous selected record and the current selected record, deselect all other
Shift+arrow up/down: create selection of sequential records, all others are deselected
Control + mouseselect: Add selected record PK to Array, on which a BGRowcolor Calculation is based
Offcourse, the logic is supposed to work vise versa, meaning: if a records is selected that was allready in the selection, it get’s thrown out, but that is codeable.
What should be altered (I think) to support this functionality, is the following:
- set the LastKeyModifier when an OnRecordSelection event occurs
While testing the current abilities of Servoy (2.2.x), I notices that Alt-Arrow up/down (which triggers the onNext/PreviousRecordCMD) does not work with modifier keys: If I press Shift-Alt-Arrow Up, nothing happens. Is that a bug?
Also, I noticed that pressing Arrow up/down when holding down the Control key will not result in selection of the next record. The same record stays selected.
To my knowledge, the described funcitonality is not possible right now in Servoy. Can this functionality be created in a future Servoy version (3.0
), or is it technically not possible?
If possible, is this allready registered on the feature list, or should I create one in the suport system?
Paul