Navigation:  Classes > bRecordGroupInfoStyle >

bRecordGroupInfoStyle:Options

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Options with that graphical representation is formatted.

Class

bRecordGroupInfoStyle

Type

Access / Assign

Data Type

DWord

Description

With options the graphical representation can be controlled. Several options can be combined. The table below defines the supported options:

 

Option

Description

BRGISO_NONE

No options are defined.

BRGISO_AUTO

The following default options are used:

BRGISO_LINEBREAK

BRGISO_WORDBREAK

BRGISO_END_ELLIPSIS

If the value cannot be displayed completely then the value will be truncated and ellipsis are be added.

 

The option can not be combined with:

BRGISO_RTF

BRGISO_LINEBREAK

If the value contains line break characters (CRLF) then the value is broken at these.

 

The option can not be combined with:

BRGISO_RTF

BRGISO_RTF

The value is displayed as RTF text.

 

The option can not be combined with:

BRGISO_END_ELLIPSIS

BRGISO_LINEBREAK

BRGISO_WORDBREAK

If the value cannot be displayed completely in one line then the value will be broken at words.

 

Single options can be checked, set and deleted with the bit functions

_And()

_Or()

_Xor()

Samples

With the following code fragment the assign is initialized with the options BRGISO_LINEBREAK and BRGISO_WORDBREAK.

 

oRecordGroupInfoStyle:Options := _Or(BRGISO_LINEBREAK,;

                                                                 BRGISO_WORDBREAK)

 

With the following code fragment the option BRGISO_END_ELLIPSIS is set.

 

oRecordGroupInfoStyle:Options := _Or(oRecordGroupInfoStyle:Options,;

                                                                 BRGISO_END_ELLIPSIS)

 

With the following code fragment it is checked whether the option BRGISO_END_ELLIPSIS is set.

 

IF _And(oRecordGroupInfoStyle:Options, BRGISO_END_ELLIPSIS)>0

 :

ENDIF

 

With the following code fragment the option BRGISO_END_ELLIPSIS is deleted.

 

IF _And(oRecordGroupInfoStyle:Options, BRGISO_END_ELLIPSIS)>0

 oRecordGroupInfoStyle:Options := _Xor(oRecordGroupInfoStyle:Options,;

                                                                         BRGISO_END_ELLIPSIS)

ENDIF

 


Page url: http://www.YOURSERVER.com/index.html?brecordgroupinfostyle_options.htm