Dialog Enhancement (Minor)

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

Dialog Enhancement (Minor)

Postby Michael Mooney » Tue Oct 16, 2007 7:41 pm

Please add the following functionality to your standard Dialogs:

Option to select a default (has focus) button.

Useful to maintain a standardized order for dialogs (Yes , No) but allow for a change of focus (focus on the Yes OR focus on the No). Handy depending on whether the pending execution is generally ok or perhaps not generally ok to proceed. Example: record deletion (I like to set the default button focus to a No response).

So, instead of:

plugins.dialogs.showQuestionDialog( 'Title', 'Delete Record?', 'Yes', 'No')

Here, focus will be on the Yes button.

Something like:

plugins.dialogs.showQuestionDialog( 'Title', 'Delete Record?', 'Yes', 'No', 'FOCUS=No')

Focus would be on the No button with this enhancement.
Michael Mooney
 
Posts: 269
Joined: Thu Apr 12, 2007 2:26 am
Location: Canada

Postby patrick » Tue Oct 16, 2007 8:49 pm

I know it's not what you needed to know, but the DialogPro plugin can do that :lol:
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby Michael Mooney » Tue Oct 16, 2007 8:54 pm

Hi Patrick,

I haven't read the DialogPro feature spec's in detail but I kinda' figured the plug-in builders have been all over this topic already ... :D

Will review - thanks,

Michael
Michael Mooney
 
Posts: 269
Joined: Thu Apr 12, 2007 2:26 am
Location: Canada

Postby IT2Be » Tue Oct 16, 2007 9:03 pm

Or, especially created for this job, the it2be-dialog plug-in.
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 ngervasi » Tue Oct 16, 2007 9:25 pm

Wow!!
Hi Patrick and Marcel! Looks like I'm the only one not offering a dialog plugin... :D

But I have a nice module for using FID as Dialogs in webclient, is that enough? :)
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 13 guests