Question
Using ShiftDown or Alt Down with onSelect
I am having no success testing for ShiftDown and the various other on-select related properties.
for example both the following issue an empty alert box regardless of the status of the shift key:
myMenuItem.onSelect = function () {alert(this.ShiftDown)}
myMenuItem.onSelect = function () {alert(myMenuItem.ShiftDown)}
I want to be able to do both of:
1. When the menu command is clicked with say ShiftDown, it toggles the checked status.
2. When the menu command is clicked with say ShiftDown, it does something different from when ShiftDown is false.
Andrew
CS2 on XP
for example both the following issue an empty alert box regardless of the status of the shift key:
myMenuItem.onSelect = function () {alert(this.ShiftDown)}
myMenuItem.onSelect = function () {alert(myMenuItem.ShiftDown)}
I want to be able to do both of:
1. When the menu command is clicked with say ShiftDown, it toggles the checked status.
2. When the menu command is clicked with say ShiftDown, it does something different from when ShiftDown is false.
Andrew
CS2 on XP
