Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL Programmers Reference > Verbs

make editable and make readonly

Scroll Prev Top Next More

Action Statement

Make a table editable or readonly.

make TABLE_NAME {editable|readonly}

TABLE_NAME

The identifier for the table.

Description

Use this statement to make the specified table editable or read-only. This means the readonly/editable attributes for each column will be used. readonly means that your program can still change values in the table, but users will not be able to edit individual cells.

Example

 

response to item ReadOnly from Menu

 copy (Table is readonly) to Flag

 action GetFlag

 if (InputOK) then

         copy "make Table readonly " Flag to MsgStr

         action SendMsg

         if (Flag) then

                 make Table readonly

         else 

                 make Table editable

         end if

 end if # InputOK

See Also

make column readonly and make column editable Action Statement