Re: 2 little questions
This is what I needed. Thank you very much Ken Gr W. On 04 Mar 2005, at 01:21, Ken Ray wrote: On 3/3/05 5:24 PM, "Wouter" <[EMAIL PROTECTED]> wrote: On 03 Mar 2005, at 22:01, Ken Ray wrote: What I meant was: commandkey is the applekey on mac, equivalent on windows is the windows key or startkey? Well, I guess it depends on keyboards. Both of my keyboards are Logitech wireless keyboards that have three keys to the left of the space bar, labelled: Ctrl Start/Alt/Option Alt/(apple symbol)/(cloverleaf symbol) Yes, I know, the two "alts" not withstanding, these generate the following keys (note that in Windows they are generated automatically; in Mac the raw keycodes for the modifier keys aren't generated until you type another key and you get the raw keyCode for *that* key instead): Windows -- Ctrl --> (65507) / controlKey is 'down' Start/Alt/Option --> (65388) / no modifier keys are down Alt/(apple symbol)/(cloverleaf symbol) --> (65513) / optionKey is 'down' Mac Ctrl --> controlKey is 'down' Start/Alt/Option --> optionKey is 'down' Alt/(apple symbol)/(cloverleaf symbol) --> commandKey is 'down' HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 2 little questions
On 3/3/05 5:24 PM, "Wouter" <[EMAIL PROTECTED]> wrote: > On 03 Mar 2005, at 22:01, Ken Ray wrote: > > What I meant was: commandkey is the applekey on mac, equivalent on > windows is the windows key or startkey? Well, I guess it depends on keyboards. Both of my keyboards are Logitech wireless keyboards that have three keys to the left of the space bar, labelled: Ctrl Start/Alt/Option Alt/(apple symbol)/(cloverleaf symbol) Yes, I know, the two "alts" not withstanding, these generate the following keys (note that in Windows they are generated automatically; in Mac the raw keycodes for the modifier keys aren't generated until you type another key and you get the raw keyCode for *that* key instead): Windows -- Ctrl --> (65507) / controlKey is 'down' Start/Alt/Option --> (65388) / no modifier keys are down Alt/(apple symbol)/(cloverleaf symbol) --> (65513) / optionKey is 'down' Mac Ctrl --> controlKey is 'down' Start/Alt/Option --> optionKey is 'down' Alt/(apple symbol)/(cloverleaf symbol) --> commandKey is 'down' HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 2 little questions
On 03 Mar 2005, at 22:01, Ken Ray wrote: On 3/3/05 3:44 AM, "Wouter" <[EMAIL PROTECTED]> wrote: Hi All, Two little questions: 1. in the transcript dictionary is stated: - on unix and windows systems, the commandkey function returns the same value as the controlkey function. This can be verified in VPC. But which is the value returned by the equivalent of the commandkey on the mac in windows? If you're talking about the key that is marked as the commandKey on a Mac keyboard, this is actually the "alt" or "option" key in Windows, and returns that the optionKey is down. What I meant was: commandkey is the applekey on mac, equivalent on windows is the windows key or startkey? And which value has this key in a rawkeydown handler?65xxx or empty? Thanks Ken for your response. Gr W. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 2 little questions
On 3/3/05 3:44 AM, "Wouter" <[EMAIL PROTECTED]> wrote: > Hi All, > > Two little questions: > > 1. in the transcript dictionary is stated: > - on unix and windows systems, the commandkey function returns the > same value as the controlkey function. > This can be verified in VPC. > But which is the value returned by the equivalent of the commandkey on > the mac in windows? If you're talking about the key that is marked as the commandKey on a Mac keyboard, this is actually the "alt" or "option" key in Windows, and returns that the optionKey is down. > 2. noticing a difference in behavior of buttons between platforms (one > more :-): >- a button with the traversalon set to true (default condition) will > take the focus out of a field when activated by mouse in windows, but > not so on mac. > Which is correct behavior and which is preferable? Well, it depends on what you want to do. Personally, I only remove the traversalOn for buttons that need to act on the text of a selectedField (for example if I had a button for "bold" that would embolden the selected text). My 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
2 little questions
Hi All, Two little questions: 1. in the transcript dictionary is stated: - on unix and windows systems, the commandkey function returns the same value as the controlkey function. This can be verified in VPC. But which is the value returned by the equivalent of the commandkey on the mac in windows? (because of the special assignment of the commandkey on the mac, this cannot be retrieved in VPC) 2. noticing a difference in behavior of buttons between platforms (one more :-): - a button with the traversalon set to true (default condition) will take the focus out of a field when activated by mouse in windows, but not so on mac. Which is correct behavior and which is preferable? TIA. Greetings, Wouter ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution