TPlusMemo.ColumnBlockXY property
PlusMemo Help Send comments on this topic.
TPlusMemo.ColumnBlockXY property

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

property ColumnBlockXY: TRect;

 

Description

This property returns the coordinates of the columnar block of text that is selected in the TPlusMemo or TDBPlusMemo control.  It is of type TRect, which contains the following fields:

 

 Left contains the starting column number of the selected block
 Top contains the starting line number of the selected block
 Right contains the ending column number of the selected block
 Bottom  contains the ending line number of the selected block

 

If no column block of text is selected when reading ColumnBlockXY, it returns a null TRect, i.e. with every field set to zero.

 

See property Options for information on how to turn on column block selection functions in a TPlusMemo.  Methods InsertBlock and SelectBlock can also be used by an application to force the insertion or selection of a block of text.  Property ColumnBlockSelection can be queried to know if the selection is in the form of a column at a given time.

 

The ColumnBlockXY property is available at run time only, with read only access.