Page 1 of 1
problen with iwcgjqdialog buttons
Posted:
07 May 2022 14:52
by hsbelli
hi, i use iw 15.2.54 and CGDevTools 4.1.309. when use IWCGJQDialogEx or IWCGJQDialog and do this.
IWCGJQDialogAccesos.Visible := true;
IWCGJQDialogAccesos.JQDialogOptions.MoveToTop;
IWCGJQDialogAccesos.AjaxReRender;
the buttons of dialog chage your size and view like in image attach to this message. is a bug?. Please can helpme..
regards
Re: problen with iwcgjqdialog buttons
Posted:
10 May 2022 13:23
by hsbelli
hi, somebody can helpme with this problem...
regards
Re: problen with iwcgjqdialog buttons
Posted:
16 May 2022 18:19
by XenoG
It looks like a different theme has been applied to the dialog buttons. You could remove all TIWCGJQDialogButtons from the dialog and then just add your own TIWCGJWButton. I assume this would be themed the same as your other buttons on the dialog.
I don't know if this will help you, but I place my dialogs in frames. This is how I launch the dialog from the main page (C++ code, sorry). The frame has a dialog (PasswordChangeIWCGJQDialog) that fills the whole frame. I can send info back to the main page with events (e.g. OnLanguageChangeEvent).
TUserConfigIWFrame* UserConfigIWFrame = new TUserConfigIWFrame(WebApplication);
UserConfigIWFrame->OnLangaugeChangeEvent = OnLanguageChangeEvent;
UserConfigIWFrame->Parent = this;
UserConfigIWFrame->Name = CGFindUniqueComponentName(this,"UserConfigDlgFrame");
UserConfigIWFrame->PasswordChangeIWCGJQDialog->AjaxReRender();
Re: problen with iwcgjqdialog buttons
Posted:
19 May 2022 13:02
by hsbelli
hi XenoG, thanks.. I will try to implement the solution you mentioned. but I must modify my whole system if this solution works. The people at CGDEVTOOLS should post a Fix for this.
regards