Preserve letter shortcut

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Eric ten Westenend
Posts: 10
Joined: Fri Aug 05, 2005 6:59 am

Preserve letter shortcut

Post 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?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Eric ten Westenend
Posts: 10
Joined: Fri Aug 05, 2005 6:59 am

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This definitely problem with menu design. May be another item under same level of menu already has T as shortcut?
Best regards,
Igor Siticov.
Eric ten Westenend
Posts: 10
Joined: Fri Aug 05, 2005 6:59 am

Post 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
Eric ten Westenend
Posts: 10
Joined: Fri Aug 05, 2005 6:59 am

Post by Eric ten Westenend »

Found!. The problem was a display setting of Win XP.

See Display Options > Effects , last checkbox.

Eric
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Great! But then how you was able to see underlines under first language? :) :wink:
Best regards,
Igor Siticov.
Post Reply