Reference > Key Object > Key Object Properties > Clear Property (Key) |
Clear Property (Key)
Sets/returns the short cut key for clearing a selection.
object.Clear= string
Read/Write at run time and design time.
{F2} is the default
A maximum of five keys can be set in the Clear property. When setting multiple keys, use a comma (",") as a delimiter. There are keys that are used by Windows, such as [F10], [Ctrl]+[C], and so on, which will not function as the user may expect if assigned to the control.
This is the default property of the Key object.
The Key object of the TDBCalendar control is not available at design time
Refer to the Key object for details for which keys and combination keys that can be used.
When the ReadOnly property is set to True, although the keys assigned to this property are pressed, the contents of the control will not be changed.
Pressing the keys assigned to this property will cause the underlying value to be set to Null.
This property was named KeyClear in the previous versions.