lema Posted October 3, 2020 Share Posted October 3, 2020 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 More sharing options...
Sherzod Posted October 3, 2020 Share Posted October 3, 2020 2 hours ago, lema said: and uniGUI 1.50.0.1481. Hello, Can you upgrade to the latest build? Link to comment Share on other sites More sharing options...
lema Posted October 3, 2020 Author Share Posted October 3, 2020 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 More sharing options...
Sherzod Posted October 3, 2020 Share Posted October 3, 2020 54 minutes ago, lema said: The CalendarPanel is a proof of concept for a potential project. Hello! I will try one of these days to install your build and check. Link to comment Share on other sites More sharing options...
lema Posted October 3, 2020 Author Share Posted October 3, 2020 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 More sharing options...
lema Posted October 7, 2020 Author Share Posted October 7, 2020 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 More sharing options...
lema Posted October 8, 2020 Author Share Posted October 8, 2020 Hello again. In case that it can't be set "readonly", is there any other workaround? eg. How can I drop a transparent mask or panel in front of the calendarpanel? Link to comment Share on other sites More sharing options...
Sherzod Posted October 9, 2020 Share Posted October 9, 2020 On 10/7/2020 at 11:20 AM, lema said: Running on latest uniGUI v.1.90.0.1537 (Delphi 10.2). Hi, Did you upgrade to the latest build? Link to comment Share on other sites More sharing options...
lema Posted October 9, 2020 Author Share Posted October 9, 2020 3 hours ago, Sherzod said: Hi, Did you upgrade to the latest build? Yeap ! Link to comment Share on other sites More sharing options...
jasonhankin Posted May 3, 2021 Share Posted May 3, 2021 Hello. New user here. Is there a definitive answer on this one? I need the user to only be able to see but not move the events on the calendar panel.. Thanks, Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now