TITCOL

Summary


Titcol is used to display the titles for the columns in the scrolling grid.

Syntax

   Titcoldef_tabl list_exprg

Parameters

Element

Description

Restrictions

def_tabl

Definition of a grid under the following form :
[
classvarbas_name

None

class

Abbreviation describing the mask containing the grid.

None

varbas_name

variable_name describing the variable for the bottom of the grid.

None

list_exprg

List of generalised 'expressions describing the titles separated by the character ','.

1 title minimum
255 maximum

Examples

# Modification for all the titles of the columns
# that are at the origin "ART" "INT" "INT C" "UN" "PX BASE" "TX TAXE"
Titcol [M:ZM15]BASTAB "Product", "Title", "Short title",
&                     "Unit", "Base price", "Tax rate"
# Modification of the first column title
# that are at the origin "ART" "INT" "INT C" "UN" "PX BASE" "TX TAXE"
Titcol [M:ZM15]BASTAB mess(22,198,1)

Description and comments

Titcol is used to display the titles for the columns in the scrolling grid.

The first parameter is used to identify the grid that will be modified.

The second parameter is used to define the new titles to be assigned to the columns. A title is attributed to a column defined in entry or display mode, from the first column, respecting the order of their respective definitions. It is possible to modify the titles of the first n columns by specifying only the required titles in the Titcol instruction.

Remarks

When a mask contains a grid in which the columns have evaluated titles, the Titcol instruction is generated in the automatic process associated with this mask. This instruction is then triggered in the Before_field action of the variable for the bottom of the grid.

The global variable GORITITCOL set to "1" does not trigger this change of the titles by this automatic process. 

Associated errors

None

Associated keywords

chgtbk - chgtzn - Chgfmt - chgtfd - Chgstl  


SUMMARY


Copyright © Sage 1999 - 2007