ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Calendar>.SelectCount (Function)
In french: <Calendrier>.SelectOccurrence
Warning
From version 24, Calendar.SelectOccurrence is kept for backward compatibility. This function has been replaced with <Calendar>.SelectCount.
Returns the number of days selected in a Calendar control.
Example
// Browse the dates selected in the Calendar control
FOR i = 1 _TO_ CAL_Calendar1.SelectCount()
	Trace(CAL_Calendar1.Select(i))
END
Syntax
<Result> = <Calendar control>.SelectCount()
<Result>: Integer
Number of elements selected in the Calendar control. This parameter:
  • can be greater than 1 only if the Calendar control is multi-selection,
  • is equal to 1 if the Calendar control is not multi-selection.
WEBDEV - Server codeWEBDEV - Browser code Multi-selection is not available.
<Calendar control>: Control name
Name of Calendar control used.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help