ComponentOne True DBInput Pro 8.0
ClipMode Property (TDBNumber)

 

Reference> TDBNumber Control> TDBNumber Control Properties> ClipMode Property (TDBNumber)

ClipMode Property (TDBNumber)

This property determines whether to include or exclude literals when copying entered data to the clipboard.

Syntax

control.ClipMode= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - Include Literals (Default)

dbiIncludeLiterals

1 - Exclude Literals

dbiExcludeLiterals

Remarks

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

SelText Property (TDBNumber)

Format Property (TDBDate)

Format Property (TDBMask)

Format Property (TDBNumber)

Format Property (TDBTime)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback