wChecked Property (DateTimePicker Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

The DateTimePicker control can display a check box next to the selected date (time). In this check box you can specify if the application will set a date (time) using the control. wChecked specifies if this check box is checked or not.

Declaration

TestObj.wChecked

Read-Write Property Boolean
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

True if the application sets a date (time) using the control. Otherwise - False.

Remarks

When the check box is hidden (wShowCheckBox is False), wChecked is always True.

Example

To view an example that demonstrates how to use the wChecked property, see Working With DateTimePicker Controls' Check Boxes in Desktop Windows Applications.

See Also

Working With DateTimePicker Controls' Check Boxes in Desktop Windows Applications
wShowCheckBox Property (DateTimePicker Controls)

Highlight search results