setreadonly_set_edit_control_to_read_only_.htm
Navigation: ABC Library Reference > EditClass > EditClass Methods >====== SetReadOnly (set edit control to read-only) ====== | |
SetReadOnly( state ), VIRTUAL
SetReadOnly | The SetReadOnly method places the edit-in-place control in a read-only state. |
State | An integer constant, variable, EQUATE, or expression that indicates whether to disable a droplist control's dropdown button. A value of one (1 or True) disables the button. A value of zero (0 or False) has no effect on the control. |
Implementation:
The SetReadOnly method uses PROP:ReadOnly to place the edit-in-place conrol in a read-only state. After the parent call in the Init method of the EditInPlace object is the recommended place to call SetReadonly.
Example:
EditInPlace::CUS:Number.SetReadOnly()
See Also: ReadOnly, EditDropListClass.SetReadOnly
setreadonly_set_edit_control_to_read_only_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1