datepicker blockscount problem |
Post Reply |
Author | |
tristoon
Newbie Joined: 18 May 2007 Location: France Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 18 May 2007 at 5:14am |
Hi,
I'm trying to count the blocks selected with progress langage.
The action is done with the "OCX.selectionChanged" and I have a problem, when I select more than 1 day on the datePicker, the blocksCount is always equals to "1".
this is my code:
DEF VAR DTdateDebut AS DATE NO-UNDO.
DEF VAR DTdateFin AS DATE NO-UNDO. DEF VAR DTcpt AS INT NO-UNDO. chDAtePick:DatePicker:Selection():AllowNoncontinuousSelection = TRUE. /*autorise la séléction multiple*/ CASE DTcpt: WHEN 2 OR WHEN 3 OR WHEN 4 OR WHEN 5 OR WHEN 6 THEN WHEN 7 THEN chctrlframe:calendarcontrol:dayview:showdays(STRING(DTdateDebut),STRING(DTDateFin)). OTHERWISE END CASE. Can you help me? I don't know where is my problem.
Thanks.
Tristan
|
|
tristoon
Newbie Joined: 18 May 2007 Location: France Status: Offline Points: 4 |
Post Options
Thanks(0)
|
I resolved my problem lonely ! :)
In fact, I tryied to do something so complicated!
just a "attachtoCalendar" masters it fine!
thanks
|
|
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 |