Getting selected dates from datepicker? (delphi) |
Post Reply |
Author | |
Mark19960
Groupie Joined: 17 October 2007 Location: United States Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 06 March 2008 at 11:21am |
I am dabbling with Delphi 7 and trying to get a selected range from the datepicker.
What I have done is declared a variable of type TDateTime and I am now trying to assign the 'start' of a selection as such: date := datepicker.Selection.Blocks[0].DateBegin; My understanding of this and Delphi are at best, beginner. I am certain I am doing this wrong... but I don't know the correct method. As soon as I try to manipulate 'date' it throws a fit. I also looked at datepicker.Selection.BlocksCount and moved it to an integer and as soon as I try to do anything with that integer it again, throws a fit. So, is there something wrong with the installation or am I just doing this wrong? I assumed at least pulling BlocksCount would show me something. |
|
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 |