ComponentOne True DBInput Pro 8.0
HighlightText Property (TDBNumber)

 

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

HighlightText Property (TDBNumber)

This property allows you to highlight all text in the control upon receiving focus.

Syntax

object.HighlightText= boolean

Read/Write at run time and design time.

Values

True - Select all text in the control.

False - The contents of the control will not be selected (Default)

Remarks

If True, the entire contents will be selected.

If False (the default), the contents will not be selected and the caret will be positioned according to the settings of the SelStart, SelLength properties.

By default, the cursor will be placed on the right side of the first integral digit (left side of the decimal point).

The HighlightText property will be overridden if the SelStart and the SelLength properties are set in the GotFocus event.

See Also

HighlightText Property (TDBDate)

HighlightText Property (TDBMask)

HighlightText Property (TDBTime)

SelStart Property (TDBNumber)

SelLength Property (TDBNumber)

 

 


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

Product Support Forum  |  Documentation Feedback