Jump to content

Recommended Posts

Posted

UniCalendarDialog has a caption property but there is no caption displayed when the dialog is executed. Is the a way to show a caption when the dialog is displayed?

 

Thanks,

Mike

Posted

I opened a ticket in our support portal

 

Just for test, try this:

  UniCalendarDialog1.Execute;
  UniSession.AddJS('Ext.defer(function(){var cdWin=Ext.WindowManager.getActive();'+
                   '  if (cdWin) {'+
                   '    cdWin.setConfig({header:true});'+
                   '    cdWin.setTitle("'+ UniCalendarDialog1.Caption +'"); cdWin.updateHeader();'+
                   '    cdWin.setHeight(cdWin.getHeight()+cdWin.header.getHeight());'+
                   '    cdWin.tools[0].hide();'+
                   '  };'+
                   '}, 30);'
  );

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...