NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: cwtart on October 18, 2013, 05:40:10 AM

Title: calendar questions
Post by: cwtart on October 18, 2013, 05:40:10 AM
NT 7.20 C8 9661

I am adding an appointment calendar to my app and using the Hotdates(12) example as a guide.

With the procedure HorizontalWeekPlanner - the drag and drop option is checked but drag and drop does not work - is this feature not yet available?

Also with the HorizontalWeekPlanner procedure - can the column header for the calendar be changed? The example shows the calendar date as "19 Jan" and I would like to also add the day of the week but I cannot find anywhere in the properties to change this.

Chuck
.
Title: Re: calendar questions
Post by: JPMacDonald on October 19, 2013, 01:44:56 PM
Hi Chuck,

I haven't looked at the drag and drop so I can't help on that one.

As for the header, I go to the Data tab on the Planner settings, select the column header [Right Column Headers], choose Properties, and select the Content tab. In the Content field I place the following code:

CHOOSE(loc:date % 7 + 1,'Sun','Mon','Tue','Wed','Thu','Fri','Sat') & ' ' & DAY(loc:date) & ' ' & SUB(Format(loc:date,@D4),1,3)

Which gives me a column header that looks like: Sun 13 Oct

of course you can use whatever dat format you wish.

Regards

Parker
Title: Re: calendar questions
Post by: cwtart on October 22, 2013, 09:12:30 AM
Parker,

Thanks, that worked fine.

Now maybe Bruce can chime in on why drag and drop does not work.

Chuck
Title: Re: calendar questions
Post by: DonRidley on October 22, 2013, 03:27:43 PM
Bruce mentioned in another thread (cannot remember which one) that the calendar drag and drop is a work in progress. 

So, it doesn't work...for now.

Don