Print Page | Close Window

Get the datetime by click on a cell

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15086
Printed Date: 27 September 2024 at 8:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get the datetime by click on a cell
Posted By: Ditte
Subject: Get the datetime by click on a cell
Date Posted: 31 August 2009 at 5:18pm
Hi,

howcan I get the datetime by click on a cell.
I use custom data and also my own mask for creating and editing of eventdatas.
I donīt get the datetime of a new clicked cell.
I think that I will get by the CalendarDayViewCellParams.
        Get Create u_cSigCjComCalendarDayViewCellParams to hoEvent    
            ...         
            Set pvComObject of hoEvent to vEvent
            Get ComBeginTime        of hoEvent to dtszeit           
            Get ComBackgroundColor   of hoEvent to iiscolor   

But the result of ComBeginTime is always the actual date and time.
Also I thought, that the event  BeforeEditOperation will calling?

Can somebody give me a little vb sample, how I can get the datetime of a cell for a new event?

        


-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Replies:
Posted By: mdoubson
Date Posted: 01 September 2009 at 5:49pm
Turn built-in dialogs and try click in View - Editor will show you initial timestamps matched to timescale position (in DayView or MutliColumn WeekView of course or Timeline view) - you can do the same in your own dialog

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net