I have noted some strange button behavior when using the Windows LAF.
If you make a button with the Windows LAF and turn off the showClick property then Servoy ignores LastKeyModifiers. If you showClick it pays attentions to LastKeyModifiers but it is not possible to make a button invisible. I guess the button is invisible but the “click” isn’t. So if one uses the Windows LAF it is impossible to have an invisible button that pays attentions to LastKeyModifiers. If you print out buttons with clicks on them one gets some very strange results as well.
To make things just a little stranger this is all modified by the settings on your Windows OS. If you go to MyComputer:Properties:Advanced:Performance Settings: and toggle between “Best Performance” and “Let Windows Choose What is Best For MyComputer” you will get different results as the Click cannot be shown if you have selected “Best Performance”. So you can get different behavior on different clients depending on how the OS is set.
Other than this I really love the way the Windows OS displays. It is even more stunning if one has the “Let Windows Choose What is Best For Me” selected [scary concept].
John McCann
2.2beta3 rc3
Windows 2003, XP