How to trigger methods with shortcuts ?

Questions, tips and tricks and techniques for scripting in Servoy

How to trigger methods with shortcuts ?

Postby rainer / dsp » Sun Feb 01, 2004 1:39 am

I would like to trigger a method in table/list view with a shortcut.
E.g. a method "goto_details" triggered by pressing enter..

Is the any way or a workaround to define a key as trigger ?

If not, this is a requested feature ;)


Rainer
DSP Memory Distribution GmbH
Philipp-Reis-Str..11
24941 Flensburg / Germany
www.dsp-memory.de
rainer / dsp
 
Posts: 103
Joined: Sat Nov 22, 2003 1:37 am

Postby Jan Blok » Wed Feb 11, 2004 5:19 pm

I have never seen this in an application, seems hardly doable...
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby maarten » Wed Feb 11, 2004 9:32 pm

a "dirty" workaround would be attaching a script to the default key combination like Ctrl+D (duplicate record)
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Shortcuts..

Postby rainer / dsp » Sat Feb 14, 2004 11:12 pm

Like in FM Pro shortcuts are very nice...
I can trigger there my scripts by just pressing Strg+1 or Strg+2.

This speeds the work up since working without the mouse is much more faster if you have to process a lot of data..


Rainer
DSP Memory Distribution GmbH
Philipp-Reis-Str..11
24941 Flensburg / Germany
www.dsp-memory.de
rainer / dsp
 
Posts: 103
Joined: Sat Nov 22, 2003 1:37 am

Postby Jan Blok » Mon Feb 16, 2004 10:32 am

Short cuts will be possible icw the possiblity to alter/extend the menubar, in a next version of Servoy.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Methods

Who is online

Users browsing this forum: No registered users and 22 guests

cron