CalendarTrailingTextColor – PB Docs 126

CalendarTrailingTextColor property for PowerScript controls


DatePicker and EditMask controls


The CalendarTrailingTextColor property specifies the color
used for text for leading and trailing days in the calendar.


This property does not work on the Microsoft Vista operating

In a painter

Select the desired color from the TrailingTextColor drop-down
list on the Calendar tab page of the Properties view.

In scripts

The CalendarTrailingTextColor property is a long indicating
the color to be used for leading and trailing days in the calendar.
These are days in months that are partly displayed in the calendar.
In a calendar showing a single month, they are the last few days
of the preceding month and the next few days of the following month.
In a calendar showing the three months July to September, the leading
days are the last few days of June and the trailing days are the
first few days of October. The default color is the color defined
for Disabled Text.

If you do not know the long value for the color, choose Design>Custom
Colors to determine the red, green, and blue values and then call
the RGB function to specify the color in a script.

The following line sets the trailing text color for the calendar
in a DatePicker control to “Inactive Title Bar”:

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x