PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
<Calendar>.SelectCount (Function)
In french: <Calendrier>.SelectOccurrence
Warning
From version 24, Calendar.SelectOccurrence is kept for backward compatibility. This function is replaced by <Calendar>.SelectCount.
Returns the number of days selected in a Calendar control.
Versions 18 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
<Calendar control>: Control name
Name of Calendar control used.
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment