Jump to content

CalendarPanel readOnly


lema

Recommended Posts

Hello, to all.

Is any way to set a CalendarPanel "readOnly" ?

I want to develop an application that only shows the events to the web user.

I don't want the user to interact with CalendarPanel  (like resize, move, or other actions).

I am using Delphi 10.2 and uniGUI 1.50.0.1481.

 

Thank you and stay safe !

 

 

PS. The following, doesn't seem to work.

 

 

Link to comment
Share on other sites

2 hours ago, Sherzod said:

Hello,

Can you upgrade to the latest build?

Hello dear Sherzod.

The upgrade to the latest build, of course, is into my next future goals.

I am one of the oldest UniGui users and now, I am just try to enter again into Delphi web development.

The CalendarPanel is a proof of concept for a potential project.

 

Link to comment
Share on other sites

 

13 minutes ago, Sherzod said:

Hello!

I will try one of these days to install your build and check.

Thank you !

 

 

Actually, I can't figure out where to put this code....

 

UniCalendarPanel1 -> ClientEvents -> ExtEvents ...

function eventmove(sender, rec, eOpts)
{
  return false
}

 

 

 

Link to comment
Share on other sites

Hello !
Although, I can suspend the events via : 

UniSession.AddJS(UniCalendarPanel1.JSName + '.events.eventmove.suspend()');

I would like to set whole component into ReadOnly mode.
My will is not to leave user to interact with CalendarPanel.
Is that possible?

Running on latest uniGUI v.1.90.0.1537 (Delphi 10.2).

Link to comment
Share on other sites

  • 6 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...