Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - DatePickerSample problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DatePickerSample problem

 Post Reply Post Reply
Author
Message Reverse Sort Order
flauzer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 December 2003
Location: Italy
Status: Offline
Points: 108
Post Options Post Options   Thanks (0) Thanks(0)   Quote flauzer Quote  Post ReplyReply Direct Link To This Post Topic: DatePickerSample problem
    Posted: 25 November 2005 at 2:56am
Thanks Serge......
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: 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
Back to Top
flauzer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 December 2003
Location: Italy
Status: Offline
Points: 108
Post Options Post Options   Thanks (0) Thanks(0)   Quote flauzer Quote  Post ReplyReply Direct Link To This Post 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

 

 

 

 

 

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.094 seconds.