Jump to content

draw a text in Calender and set focus on "Today"


erich.wanker

Recommended Posts

hello,

 

how can i focuse cells of unicalendarpanel1 / month-view 

 

and how can i write in a cell of  unicalendarpanel1/month-view ?

 

 

 

 

i search somthing like:

myStartDate:TDateTime;
myEndDate:TDateTime;

unibutton1.onclick
begin
unicalendarpanel1.selection_start = mystartDate
unicalendarpanel1.selection_end = myEndDate
unicalendarpanel1.select_the_thing ... and the cells should change the color

and how can i write a text in a cell of unicalendarpanel1 / month-view?

given is the date and the text ...

 

 

i search somthing like:  

unicalendarpanel1.cellperdate('01/01/2015').text := ' 3 activities";
Link to comment
Share on other sites

OK .. sorry ... found it in "DEMO" 

 

var  E : TUniCalendarEvent;
begin


UniCalendarPanel1.StartDate:=now;


  E:=UniCalendarPanel1.Events.Add;
  E.CalendarId:=1;
  E.Title:='Meeting';
  E.StartDate:=Date;
  E.EndDate:=Date+0.1;
end;
Link to comment
Share on other sites

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...