Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Retrieving date from datepicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Retrieving date from datepicker

 Post Reply Post Reply
Author
Message
Krass View Drop Down
Newbie
Newbie
Avatar

Joined: 08 March 2007
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krass Quote  Post ReplyReply Direct Link To This Post Topic: Retrieving date from datepicker
    Posted: 05 May 2007 at 2:17pm
With my old calendar control, I used to do the following to retrieve the current selected date:
msgbox ctlCalendar
 
With codejock's date picker, I have to use the following:
msgbox ctlCalendar.Selection.Blocks(0).DateBegin
 
I find this line of code a little long, not that it's that bad, but since I am using the calendar ALWAYS for only one date (MaxSelectionCount = 1), is there shorter way to retrieve the date currently selected?
 
Thanks
Christian
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2007 at 4:52pm
Hi,

No shorter way, sorry. It was designed to operate with selection blocks.

--
WBR,
Serge
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.140 seconds.