Shortcuts to tabs

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Shortcuts to tabs

Postby imJames » Fri Jun 29, 2007 10:47 am

I would like to add [user defined] shortcuts to the tabs of a TabPanel.

So for example, when I click on ctrl+1 I go to tab 1, ctrl+2 I go to tab 2, etc.
imJames
 
Posts: 18
Joined: Wed Jan 31, 2007 9:46 pm

Postby Joas » Fri Jun 29, 2007 11:12 am

This is already possible. You can add methods to ctrl+1-9 by enabling the "Show in menu" property in the editor.

Your users have to define their preferences in for example a "user_pref"-table, which you use in your methods to show the correct tab.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Postby IT2Be » Fri Jun 29, 2007 11:36 am

And when you want to be 'absolutely' free in creating shortcuts, menu's etc
you could check out the menubar plug-in @ http://www.it2be.com/plugins.htm#menubar
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby imJames » Sat Jun 30, 2007 4:32 pm

Joas wrote:This is already possible. You can add methods to ctrl+1-9 by enabling the "Show in menu" property in the editor.

Your users have to define their preferences in for example a "user_pref"-table, which you use in your methods to show the correct tab.


Sorry but I don't get it. Which event is called when you press ctlr-N?
imJames
 
Posts: 18
Joined: Wed Jan 31, 2007 9:46 pm

Postby IT2Be » Sat Jun 30, 2007 4:36 pm

newRecordEvent: in the docs...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby Jan Aleman » Sat Jun 30, 2007 4:54 pm

if with N you mean 1..9: the first 9 methods you turn on the showinmeny tickbox for are mapped to the corresponding keys.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests