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();