![]() |
Retrieving date from datepicker |
Post Reply
|
| Author | |
Krass
Newbie
Joined: 08 March 2007 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Topic: Retrieving date from datepickerPosted: 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
|
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 May 2007 at 4:52pm |
|
Hi,
No shorter way, sorry. It was designed to operate with selection blocks. -- WBR, Serge |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |