User Tools

Site Tools


setreadonly_set_edit_control_to_read_only_editdropclass_.htm
Navigation:  ABC Library Reference > EditDropListClass > EditDropListClass Methods >====== SetReadOnly (set edit control to read-only:EditDropClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetReadOnly( state ), VIRTUAL

blk2blue.jpg

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 the 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

setreadonly_set_edit_control_to_read_only_editdropclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1