May 04, 2024, 08:29:24 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Hot Key

Started by donh, February 06, 2006, 06:17:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

donh

When setting up a GUI and want to define a key to use alt+ Letter usualy it is the & and you would get Exit I see this in the
Menu Editor but not on buttons when testing or skeliton code created.
I modified one of the demos that created buttons and it did not work is there someting else that is required or not implemented as of yet?


Don

Parker

See the AddAccelerator method in the window class, assuming it's there. If it isn't, it will be soon ;)

donh

Thanks

I tried my code again with outthe AddAccelerator class it worked as expected.  But the underline is not present.  Is this a factor of
the size of the button or one of those wonderfull M$ features with XP or could it be a display problem with the resolution I am using on my laptop
1400 x 1050

Don

Ionic Wind Support Team

XP doesn't display the underlines by default in a menu until after you press the ALT key.  That is if your using themes.

There is a setting to turn them on all the time, forget where it is, might be a registry thing.

Paul.

[Edit]
Found it.  Go to display properties, click on the 'appearance' tab and then click the 'effects' button.
Ionic Wind Support Team

donh

Thanks Paul figured it something to do with M$ and XP