Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

ReadOnly property for AdvSmoothCalendarGroup

 Post Reply Post Reply
Author
Luis Concepcion Gonzalez View Drop Down
New Member
New Member
Avatar

Joined: 28 Oct 2015
Posts: 31
Post Options Post Options   Quote Luis Concepcion Gonzalez Quote  Post ReplyReply Direct Link To This Post Topic: ReadOnly property for AdvSmoothCalendarGroup
    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.

Thanks

Luis C.
Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3331
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 25 Aug 2017 at 2:31pm
Hi, 

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

procedure TForm1.FormCreate(Sender: TObject);
begin
  AdvSmoothCalendarGroup1.Enabled := False;
end;
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down