Grid Panel Properties

 

Most forms in 4GL programs contain screen arrays and grids for convenient information display and input. Therefore, it is obvious, that the graphic representation of these elements should be as convenient as possible.

Screen grids can be referenced using the following objects:

 

Description: Table.png

Table

Description: Table Row.png

Table Row

Description: Table Collumn.png

Table Column

 

 

BufferCount

 

Description: Buffer Count.png The BufferCount allows you to control how many pages of table rows are to be kept at once in the application buffer during the DISPLAY ARRAY and INPUT ARRAY. Here, a page means the number of rows in the screen array to where the display or input is performed. The number passed to the property sets the number of the pages, that to be filled with data stored in the buffer. The data outside this scope are retrieved during the scroll and replace the rows, that are already stored.

 

For example, if a screen grid has 5 rows to display data, and BufferCont property is set to 3, it means, that only 15 rows of the data retrieved by application is stored in the buffer. The set of this rows can be changed during the scrolling. This allows to minimize the memory used during the application execution, especially when it is intended to work with large arrays of data.

 

The Buffer Count property has an effect only when the Is Virtual property is checked.

 

 

 

ColumnLength

 

Description: Column Length.png The Column Length property is used to specify the width of a table column. The property includes two sub-properties: Grid Length Type and Grid Length Value.

 

Grid Length Type

 

Grid Length Type specifies the way the grid length value is interpreted. There are three options available:

 

Grid Length Value

 

Grid length property is used to set the column length value in units, that are processed by the Grid Length Type property.

 

 

Grid Color

 

Description: Grid Color.png The Grid Color property is used to specify the color of a screen grid sheet.

 

 

Image Collapsed

 

Description: Image Collapsed.png Image Collapsed property includes Image URL sub-property which specifies the path to the image, that is to be displayed next to a collapsed tree wrapper item. The property has effect, when a tree view wrapper property is applied to a screen grid.

 

 

Image Expanded

 

Description: Image Expanded.png The Image Expanded property includes Image URL sub-property which specifies the path to the image that is to be displayed next to an expanded tree wrapper item. The property has effect when a tree view wrapper property is applied to a screen grid.