Accelerator keys


Author
Message
Ben Kim
Ben Kim
StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)
Group: Forum Members
Posts: 99, Visits: 253
In Clarion we had the ability to setup accelerator keys or hotkeys that allow the user to hit Alt+<key> combo to select a field, tab, etc. 

For example I have a StrataFrame Maintenance form with a Tab Control.  This control has two pages.  One page is set to "General" the other "Additional Information".  I would like to have the ability to click Alt+G to select page one, and Alt+A to select the Additional Information tab.  This worked with label controls in Clarion too.  Meaning:

Division:   _________

Street:    ______________

...if I hit Alt+S, the entry field next to street would be selected.  How do I do the same in DOT NET?

Thanks!

Ben

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Ben.

I've googled after the TabControl hotkeys and found out some solutions to it, mainly creating a user control. Don't think it will work out of the box. A shame, isn't it?

Cheers.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I have no idea about tab controls, but for textboxes, combos, lists, etc. you setup hot keys using the label just before it in tab order. Check out the UseMnemonic property of a label.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Yeah, tabs are completely different.  Let me know if you have any troubles and I will see if I can figure something out.
Ben Kim
Ben Kim
StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)
Group: Forum Members
Posts: 99, Visits: 253
Yes the controls that I have tried so far work with the exception of TAB controls.  Is there a workaround for this since we use accelerator keys on all of our tabs?

Ben

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search