WeekNumbers property for PowerScript controls
Controls
DatePicker, MonthCalendar controls
Description
Specifies whether a number displays to the left of each row
of dates to indicate the number of the week in the year. For example,
January 1 falls in the first week in the year, so the number 1 would
display to the left of its row of data if this property is set to true.
Usage
In a painter
To set the WeekNumbers property:
-
Select or clear the WeekNumbers check box
on the Calendar page in the Properties view for DatePicker controls
or the General page in the Properties view for MonthCalendar controls.
In scripts
The WeekNumbers property takes a boolean value. The default
is false. These statements turn the WeekNumbers
property on for a DatePicker control and a MonthCalendar control:
1 |
dp_1.WeekNumbers = true<br>mc_1.WeekNumbers = true |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments