CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

problen with iwcgjqdialog buttons

by hsbelli » 07 May 2022 14:52

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
You do not have the required permissions to view the files attached to this post.
hsbelli
 
Posts: 75
Joined: 26 May 2012 12:09

by hsbelli » 10 May 2022 13:23

hi, somebody can helpme with this problem...

regards
hsbelli
 
Posts: 75
Joined: 26 May 2012 12:09

by XenoG » 16 May 2022 18:19

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();
XenoG
 
Posts: 36
Joined: 15 Nov 2016 15:04

by hsbelli » 19 May 2022 13:02

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
hsbelli
 
Posts: 75
Joined: 26 May 2012 12:09


Return to General

cron

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.