Print Page | Close Window

DatePickerSample problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=3262
Printed Date: 14 May 2024 at 2:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DatePickerSample problem
Posted By: flauzer
Subject: DatePickerSample problem
Date Posted: 23 November 2005 at 12:13pm

In a DatePickerSample.vbp.....

1) select date in combo PopUp cmbPopUp

2) just Open and close this combo....and the TEXT disappear......

I have found a workaround just working with "...additem and listindex = 0".

BUT

is there a way to CLEAR the SELECTION object of wndDatePicker_PopUp

programmatically ???? ie clear wndDatePicker_PopUp.Selection.BlocksCount.....???

THANKS

 

 

 

 

 




Replies:
Posted By: sserge
Date Posted: 24 November 2005 at 2:27am
Hi,

There are no direct method for that available, but you can use following workaround:

Dim nMaxSel As Long
nMaxSel = wndDatePicker_PopUp.MaxSelectionCount
wndDatePicker_PopUp.MaxSelectionCount = 0 'this will clear selected days collection
wndDatePicker_PopUp.MaxSelectionCount = nMaxSel


--
WBR,
Serge


Posted By: flauzer
Date Posted: 25 November 2005 at 2:56am
Thanks Serge......



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net