Statistics: Posted by mark — 05 Jul 2021 12:39
Statistics: Posted by Alexander Bulei — 29 Jun 2021 17:57
LDlg := IWCGCreateMessageDialog('',
mtInformation,
[mbOk],
procedure(Dialog: TIWCGJQMsgDialog; AResult: TModalResult)
begin
end);
Statistics: Posted by mark — 25 May 2021 12:29
AjaxReRender(True,False)
Statistics: Posted by Alexander Bulei — 11 Jul 2016 17:49
procedure TIWEditOrderItem.ShowDialog(Dlg: TIWCGJQMsgDialog; AMessage: String);
begin
Dlg.JQDialogOptions.OnClose.OnEvent := DialogClose;
Dlg.JQDialogOptions.ShowCloseIcon:= False;
Dlg.JQDialogOptions.Resizable := False;
Dlg.JQDialogOptions.AutoHeight := True;
Dlg.JQDialogOptions.AutoWidth := True;
Dlg.Message := AMessage;
if (CGIsCallbackProcessing) then
Dlg.AjaxReRender();
Statistics: Posted by etwoss — 11 Jul 2016 09:16
Statistics: Posted by feland — 10 Dec 2015 10:45
TIWCGMsgDialogGetButtonText = TFunc<TMsgDlgBtn, string>;
TIWCGMsgDialogGetTitle = TFunc<TMsgDlgType, string>;
var
OnMsgDlgGetButtonText: TIWCGMsgDialogGetButtonText;
OnMsgDlgGetTitle: TIWCGMsgDialogGetTitle;
if Assigned(OnMsgDlgGetTitle) then
JQDialogOptions.Title := OnMsgDlgGetTitle(DlgType)
else
JQDialogOptions.Title := IWCGMsgDlgTitles[DlgType];
if Assigned(OnMsgDlgGetButtonText) then
Button.Text := OnMsgDlgGetButtonText(DlgBtn)
else
Button.Text := IWCGMsgButtonCaptions[DlgBtn];
Statistics: Posted by assapan — 09 Dec 2015 18:35
I insert this string to test 'rteywdfiywdfidwfitweyiftewirtfwiertfiewtfwerilti9ròuewirgweriògyeoòrugyweoòruruerguòewroiguyweilrògu'
Statistics: Posted by Alexander Bulei — 04 Dec 2015 17:19
Statistics: Posted by feland — 04 Dec 2015 17:18
procedure TIWForm10.IWCGJQButton2JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
var
MyDlg: TIWCGJQMsgDialog;
begin
MyDlg:= IWCGCreateMessageDialog('<long-message-here>',mtError,[mbYes], nil);
MyDlg.JQDialogOptions.AutoHeight:= True;
MyDlg.Label_.AutoSize:= True;
MyDlg.Label_.StyleRenderOptions.RenderPosition:= False;
MyDlg.Label_.StyleRenderOptions.RenderSize:= False;
MyDlg.Label_.StyleRenderOptions.RenderPadding:= False;
MyDlg.Label_.StyleRenderOptions.RenderBorder:= False;
MyDlg.Label_.Css:= MyDlg.Label_.Css + ' ui-dialog-label-autosize';
MyDlg.AjaxReRender(True,False);
end;
Statistics: Posted by Alexander Bulei — 03 Dec 2015 18:52
IWCGMessageDlg('EXCEPTION: Error in btnInsertJQButtonOptionsClick: ' + e.Message, mtError, [mbOK], nil);
Statistics: Posted by feland — 03 Dec 2015 12:03
IWCGJQImage
- Fixed: Ajax picture change issue
Statistics: Posted by Alexander Bulei — 22 Dec 2014 12:10
FDlg := IWCGCreateMessageDialog('', mtConfirmation, [mbYes, mbNo],
procedure(Dialog: TIWCGJQMsgDialog; AResult: TModalResult)
begin
if AResult = mrYes then
begin
end;
end);
FDlg.JQDialogOptions.ShowCloseIcon:= False;
FDlg.JQDialogOptions.Resizable := False;
FDlg.JQDialogOptions.AutoHeight := True;
FDlg.JQDialogOptions.AutoWidth := True;
FDlg.Message := 'Signalering voltooien?';
FDlg.JQDialogOptions.OnClose.OnEvent := DialogClose;
FDlg.AjaxReRender();
Statistics: Posted by etwoss — 20 Dec 2014 10:38
Statistics: Posted by Alexander Bulei — 02 Dec 2014 11:33
Statistics: Posted by jredoc — 01 Dec 2014 14:46