Dialog Enhancement (Minor)

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.

I know it’s not what you needed to know, but the DialogPro plugin can do that :lol:

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

Or, especially created for this job, the it2be-dialog plug-in.

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? :)