Print Page | Close Window

ReadOnly property for AdvSmoothCalendarGroup

Printed From: TMS Software
Category: General
Forum Name: Feature Requests
Forum Discription:
Printed Date: 31 May 2020 at 5:54pm

Topic: ReadOnly property for AdvSmoothCalendarGroup
Posted By: Luis Concepcion Gonzalez
Subject: ReadOnly property for AdvSmoothCalendarGroup
Date Posted: 25 Aug 2017 at 11:07am
Is it posible to add a ReadOnly property for AdvSmoothCalendarGroup?

I'm using a TAdvSmoothCalendarGroup component to show/load multiple selected days ranges by code. It works fine, but user can cancel the current selection just clicking on any date. There is no readonly property.

I have been looking for an event to cancel user mouse clicks or something with no success. Everytime I click the calendar, selection disappears and I have to reload the date ranges again.


Luis C.

Posted By: Pieter Scheldeman
Date Posted: 25 Aug 2017 at 2:31pm

You can simply set the Enabled property to false in the constructor of the form

procedure TForm1.FormCreate(Sender: TObject);
  AdvSmoothCalendarGroup1.Enabled := False;

Print Page | Close Window