Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

List of predicates for group Grid

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

ezy_grid_callback

WINDOW GRID_OBJECT,
GRID_CALLBACK GRID_CALLBACK

(i,i)

Define name of the user predicate which will receive callback messages from the grid

determ

ezy_grid_cell

WINDOW GRID_OBJECT,
INTEGER ROW,
INTEGER COL,
GRIDTEXT GRIDTEXT

(i,i,i,i),(i,i,i,o)

Get/Set grid cell with individual properties

determ

ezy_grid_cellempty

WINDOW GRID_OBJECT,
INTEGER ROW,
INTEGER COL

(i,i,i)

True if selected grid cell doesn't have data

determ

ezy_grid_cellmodified

WINDOW GRID_OBJECT,
INTEGER ROW,
INTEGER COL

(i,i,i)

True if grid cell has been modified

determ

ezy_grid_clear

WINDOW CTRLWIN

(i)

Clear grid cells

determ

ezy_grid_column

WINDOW GRID_OBJECT,
INTEGER COL,
GRID_PROPERTY

(i,i,i)

Define column property: -column_string -column_integer -column_real -column_date(STRING FORMAT); -column_number -column_currency -column_list(SLIST)

determ

ezy_grid_columns

WINDOW GRID_OBJECT,
SLIST COLUMNNAMES

(i,i),(i,o)

Get/Set grid columns names

determ

ezy_grid_copy

WINDOW GRID_OBJECT

(i)

Copy grid selection - one selected area

determ

ezy_grid_cut

WINDOW GRID_OBJECT

(i)

Cut grid selection - one selected area

determ

ezy_grid_delete

WINDOW GRID_OBJECT

(i)

Delete grid selection - Cells - clear selected cells - Row(s) - delete selected row(s) - Column(s) - delete selected column(s)

determ

ezy_grid_fill

WINDOW GRID_OBJECT,
EZY_GRID_INIT_LIST

(i,i)

Fills grid from the EZY_GRID_INIT_LIST element see definitions of the EZY_GRID_INIT_LIST domain in

determ

ezy_grid_insert

WINDOW GRID_OBJECT

(i)

Insert Column/Row

determ

ezy_grid_paste

WINDOW GRID_OBJECT

(i)

Paste grid copied selection

determ

ezy_grid_recalculate

WINDOW GRID_OBJECT,
INTEGER ROW,
INTEGER COL

(i,i,i)

Recalculate grid expressions

determ

ezy_grid_row_add

WINDOW GRID_OBJECT,
SLIST DATALIST

(i,i)

Add row to the grid control

determ

ezy_grid_row_get

WINDOW GRID_OBJECT,
INTEGER ROW,
SLIST DATALIST

(i,i,o)

Get row data from the grid

determ

ezy_grid_rows

WINDOW GRID_OBJECT,
INTEGER MAXROW

(i,o),(i,i)

Get/Set number of rows in the grid

determ

ezy_grid_sort

WINDOW GRID_OBJECT,
STRING SORT_MODE

(i,i)

Sort selected grid colum - Ascending (sort_a_z) or Descending (sort_z_a)

determ

ezy_grid_undo

WINDOW GRID_OBJECT

(i)

Undo previous editing operation (Cut/Paste/Delete/Insert)


Copyright 1997-2013 EDMGROUP (Australia)