Page 1 of 1

Preserve letter shortcut

Posted: Thu Aug 11, 2005 6:56 am
by Eric ten Westenend
Hello,

I want to preserve a letter shortcut assignment in my menu-items:

A button with caption "&Cancel" should be translated in "&Annuleren" where the first letter is the shortcut to the button. For buttons this works fine for menu-items not!

Is this possible?

Posted: Thu Aug 11, 2005 8:25 am
by isiticov
What do you mean? TsiLang doesn't assign shortcuts but just uses the translation value provided. May be you just use maAutomatic value for AutoHotKeys property of menu? Then menu assigns the shortcut automatically and may override your settings.

Posted: Thu Aug 11, 2005 10:16 am
by Eric ten Westenend
What i mean is this:

Assign the caption "&Language" to a menu-item. As you know , alt+L should activate the menu.

When using the translator i assign "&Taal" as the dutch translation.
The translator shows the letter "T" with an understrike but at runtime the "T' does not become the shortcut. Neither the default "L" for language is a shortcut anymore.

I don't wont to use automatic hotkeys.

Eric

Posted: Thu Aug 11, 2005 11:52 am
by isiticov
This definitely problem with menu design. May be another item under same level of menu already has T as shortcut?

Posted: Thu Aug 11, 2005 5:00 pm
by Eric ten Westenend
There is no conflicting menu item.
Try this yourself using a letter hotkey and a lanugua.
As soon you set the active language (even in design mode) the hotkey letters is gone.

Even automatic hotkeys don't work anymore.

Eric

Posted: Sat Aug 13, 2005 6:57 am
by Eric ten Westenend
Found!. The problem was a display setting of Win XP.

See Display Options > Effects , last checkbox.

Eric

Posted: Sat Aug 13, 2005 8:52 am
by isiticov
Great! But then how you was able to see underlines under first language? :) :wink: