On 12/5/06, Felix Shnir <[EMAIL PROTECTED]> wrote:
> The undocumented option is recenterAuto for window parameters.  On default
> its set to be true, and apparently it only executes for IE :).  Its actually
> set in the constructor of a window.  In any case, if you set your dialog to
> be recenterAuto: false, it should solve your problems.  Here is an example:
>
> Dialog.confirm($('login').innerHTML, {windowParameters:
> {className:"alphacube", recenterAuto:false , width:400},
>                                       okLabel: "login",
> cancelLabel: "cancel",
>                                       ok:function(win){
>
> $('login_error_msg').innerHTML='Login or password
> inccorect';
>
> $('login_error_msg').show();
>
> Windows.focusedWindow.updateHeight();
>                                         new
> Effect.Shake(Windows.focusedWindow.getId ()); return false;}});
>
> Felix.

That did it! Thanks so much. I can't wait to share with the list how
we are using PWC as soon as our product launches.

Cheers, Van

-- 
- Mike "Van" Riper
  [EMAIL PROTECTED]

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to