LOTUSSCRIPT/COM/OLE CLASSES


Examples: InViewEdit event
1. This InViewEdit event is for a view where all the editable columns are Text and are processed the same. The user edits a column entry. Your code validates the edited column entry (it cannot be an empty string). When the user clicks out of the editable column entry or tabs out of all the editable column entries for the row, your code writes the editable column entries in the ColProgName and ColumnValue arrays to the underlying document.
2. This InViewEdit event is for a view with two editable columns, one Text and one Numeric. The code must distinguish between the columns because the processing for each differs in some respects.
3. This InViewEdit event is like the first example except that the programmatic names of the columns are not the same as the items associated with the column. Therefore, the code must examine each column and process the correct item.
4. This InViewEdit event is for a view with one editable column so only the first element of the ColProgName and ColumnValue arrays has to be processed. The column is for a list box field so the verification code forces the user to enter one of the values from the list box.
5. This InViewEdit event is for a view with one editable column that represents its value as an icon. The code processes the field by writing one of two values to the document represented by the row. This has the effect of toggling two icons.

See Also