Print Page | Close Window

CXTPDatePickerControl::Select and Deselec

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4001
Printed Date: 10 November 2025 at 9:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPDatePickerControl::Select and Deselec
Posted By: Italo
Subject: CXTPDatePickerControl::Select and Deselec
Date Posted: 13 April 2006 at 10:08pm

I need to change CXTPDatePickerControl to prevent a single date from being selected. I want to only select an entire week. To do this I need CXTPDatePickerControl::Select and CXTPDatePickerControl::Deselect to be virtual. Can these methods be virtual?

Thanks,
Italo




Replies:
Posted By: sserge
Date Posted: 16 April 2006 at 3:18pm
Thanks, will do for the next release.

However, it looks like for your particular case the job could be done in an existing way: you subscribe for XTP_NC_DATEPICKERSELECTIONCHANGED event from the date picker, and then change a selection to a whole week or anything else.

--
WBR,
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