Reference > TDBTime Control > TDBTime Control Properties > ClipMode Property (TDBTime) |
ClipMode Property (TDBTime)
This property determines whether to include or exclude literals when copying entered data to the clipboard.
control.ClipMode= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Include Literals (Default) |
dbiIncludeLiterals |
1 - Exclude Literals |
dbiExcludeLiterals |
If set to 0-Include literals, the text in the control will be copied to the Clipboard exactly as it appears. For example, a yyyy/mm/dd format date is sent to the Clipboard as 1998/03/16, or a hh:nn:ss AM/PM format time is sent to the Clipboard as 01:00:00 PM.
If set to 1-Exclude literals, the date is sent to the Clipboard as "19980316".
Shortcut keys such as [CTRL+INS] or [CTRL+C] can be used also to copy data to the clipboard.
The SelText property is also affected by the setting of the ClipMode property.
When the control allows free format entry, this property will always copy all characters to the Clipboard.
See Also