ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Order of Buttons in Messagebox

dis
2 Sep 2010 05:08:21 GMT
2 Sep 2010 05:08:21 GMT

Hi

I use following code to show a MessageBox to the user:

Messagebox.show(msg, title, Messagebox.YES | Messagebox.CANCEL, Messagebox.QUESTION, ...

The message appears correctly, but the order of the Buttons is not how I would expect it. First comes the Cancel button, and the YES button. I would like to have it the other way, first the YES button and then the Cancel button.

I know its a minor issue. However, there is a common acceptance how message dialogs look like and the cancel button comes always at the end.

Is there an easy way to fix it?

Thank you
Dieter

PeterKuo
2 Sep 2010 06:18:26 GMT
2 Sep 2010 06:18:26 GMT

You may use Yes and NO, OK and Cancel.

But you can still post a feature request to let us track it.

And we'll adjust to Yes to left, cancel to right.