In the manual of 9.01.01 mention that "The Grid widget has been enhanced
to allow a background color, dynamic changes to the cell widget types"
I am interesting about dynamic changes to the cell widget types , but I
looked for several hours and I can't find how...
It was only a demo ? ( as the jock mentions )
John Tsagarakis
Below is an extract from the manual, I've not tried it, but it appears
that $fieldproperties="WIDGETTYPE=...." is the necessary code.
From the 9.4 manual Uniface Reference->Widgets: Forms and
Reports->Grid
Cell Representations
A cell representation is the user interface for fields that are part
of an entity whose Widget Type is Grid. It displays and controls the
field values in a way that is specific for that representation. A cell
representation is comparable to a field-level widget used by fields
outside the grid and is defined using the field's Widget Type
property.
Most field-level widgets are not supported in the grid widget葉hey are
mapped to edit box cell representations. The following widgets are
supported and are mapped to cell representations with similar
behavior.
Check Box
Color Box
Command Button
Drop-down List
Edit Box
Picture
Sping Button
However, not all properties available in field-level widgets are
available on their grid widget cell representation. For details, see
Widgets and Properties Supported in Grid Widget.
You can dynamically change the widget type of a cell representation of
a field in the grid using the $fieldproperties Proc function, for
example:
$fieldproperties("FLD.ENT")="WIDGETTYPE=PICTURE" Note: This
functionality works only for cell representations of fields in a grid,
not for any other fields.
Below is an extract from the manual, I've not tried it, but it appears