Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Get the datetime by click on a cell
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get the datetime by click on a cell

 Post Reply Post Reply
Author
Message
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Topic: Get the datetime by click on a cell
    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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.