ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
CalendarSelectCount (Function)
In french: CalendrierSelectOccurrence
Warning
From version 24, CalendarSelectOccurrence is kept for backward compatibility. This function is replaced by CalendarSelectCount.
Returns the number of days selected in a Calendar control.
Example
// Browse the dates selected in the Calendar control
FOR i = 1 _TO_ CalendarSelectCount(CAL_Calendar1)
Trace(CalendarSelect(CAL_Calendar1, i))
END
Syntax
<Result> = CalendarSelectCount(<Calendar control>)
<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.
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help