DoubleClick on fields

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

DoubleClick on fields

Postby jasantana » Tue Oct 11, 2011 9:29 am

Could it be possible to have an onDoubleClick event for fields as we have it for labels?

I have a listview form with fields not labels because I need to show valueList, format numeric and date fields, etc. and I need to have an onDoubleClick event so the user do not have to select the record and then click on another button. Placing a button for every record is a solution, but IMHO not the best.

Thanks in advance.
Best regards,
Juan Antonio Santana Medina
[email protected]
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 540
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: DoubleClick on fields

Postby patrick » Tue Oct 11, 2011 9:35 am

+1. If a field is locked (not editable), I would love to have a doubleClick event as well.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3592
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: DoubleClick on fields

Postby victor.rojo » Tue Oct 11, 2011 10:23 am

+1. BTW I use this in the onAction for SC:
Code: Select all
if(foundset.getSelectedIndex() == fRecordIndex && (event.getTimestamp() - fDoubleClickTime ) < 500)
   {
      doubleClickOnAction(event);
   }
   else
   {
      fRecordIndex = foundset.getSelectedIndex();
      fDoubleClickTime = event.getTimestamp();
   }


fRecordIndex and fDoubleClickTime are form vars.
Best regards/Un saludo,

Victor Rojo
Developer

NeoCursar, S.L. - Developers Team
--
Servoy 5.2.8 - build 1016 / Version: 6.0.2 - build 1222
Mac OS X 10.7
victor.rojo
 
Posts: 74
Joined: Mon Jan 11, 2010 1:49 pm

Re: DoubleClick on fields

Postby jasantana » Tue Oct 11, 2011 1:23 pm

Good trick Victor !!
Best regards,
Juan Antonio Santana Medina
[email protected]
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 540
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: DoubleClick on fields

Postby kwpsd » Tue Oct 11, 2011 11:55 pm

If a field is locked (not editable), I would love to have a doubleClick event as well.


This is an important distintion...a double-click on an editable field, by default, selects the contents of the field. It is also the reason why Servoy did not include a double-click method for fields (at least, that's what I was told last year). I agree with Patrick...a double-click method on a non-editable field would be nice to have.

We use labels (non-editable) in list views just to get the double-click method, but you cannot format a label as you can a field. We are relegated to using a calculation to format the label contents. So, +1 for me, too!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 566
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: DoubleClick on fields

Postby maria » Wed Jun 06, 2012 5:39 am

kwpsd wrote:
If a field is locked (not editable), I would love to have a doubleClick event as well.


This is an important distintion...a double-click on an editable field, by default, selects the contents of the field. It is also the reason why Servoy did not include a double-click method for fields (at least, that's what I was told last year). I agree with Patrick...a double-click method on a non-editable field would be nice to have.

We use labels (non-editable) in list views just to get the double-click method, but you cannot format a label as you can a field. We are relegated to using a calculation to format the label contents. So, +1 for me, too!


+1 for our project.
We cannot use labels in the table view because some of the fields' values are resolved through custom valuelists, and I cannot set a valuelist on a label.

Is this issue being followed up at all or we just modify Servoy source code at home? :)

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: DoubleClick on fields

Postby pbakker » Thu Jun 07, 2012 6:02 pm

kwpsd wrote:but you cannot format a label as you can a field. We are relegated to using a calculation to format the label contents. So, +1 for me, too!


In 6.1 you CAN format labels.

Paul
pbakker
 
Posts: 2817
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: DoubleClick on fields

Postby kwpsd » Thu Jun 07, 2012 8:34 pm

Great...I can't wait to try it!

Thanks, Paul!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 566
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: DoubleClick on fields

Postby mboegem » Fri Jun 08, 2012 9:57 am

kwpsd wrote:Great...I can't wait to try it!


6.1rc3 is already there... it's available via the download page.
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1382
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: DoubleClick on fields

Postby kwpsd » Fri Jun 08, 2012 7:30 pm

6.1rc3 is already there... it's available via the download page.


Hi, Marc...I hope you are doing well! Thanks for the info. We are waiting for the final release of 6.1 before migrating our product to it.
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 566
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: DoubleClick on fields

Postby jcompagner » Tue Jun 19, 2012 3:55 pm

kwpsd wrote:
6.1rc3 is already there... it's available via the download page.


Hi, Marc...I hope you are doing well! Thanks for the info. We are waiting for the final release of 6.1 before migrating our product to it.


you don't have to migrate, just test you workspace (make a copy or check out a new one) with the latest 6.1RC so that you can test and see if it works for your solution
and you can see if the new features do help you and are working like you expect it to..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7971
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: DoubleClick on fields

Postby kwpsd » Sat Aug 04, 2012 9:24 pm

Johan,

I have recently been using the new label format feature in Servoy 6.1, and it works beatuifully (especially, for date formats). I noticed that it also renders more quickly than the date format calculations we were using prior to 6.1. Thank you for incorporating this into Servoy!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 566
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests