| Navigation: ABC Library Reference > EIPManagerClass > EIPManagerClass Methods >====== SetColumnEditType (set column's EditClass) ====== | ![]() ![]() |
SetColumnEditType(ColumnNumber,<;EditClass>)
| SetColumnEditType | Change EditClass used for a column. |
| ColumnNumber | An integer constant or variable that contains the column number to process. |
| EditClass | The label of the EditClass. If omitted, the specified columnnumber is disabled for EIP operations. |
SetColumnEditType allows you to change the EditClass used for a column at runtime. If the EditClass parameter is omitted, then that column will be disabled on EIP actions.
Implementation:
**SetColumnEditType **should be called prior to the BrowseClass AskRecord parent call.
Example:
BRW1.AskRecord PROCEDURE(BYTE Request)
ReturnValue BYTE,AUTO
** CODE**
** IF GLO:AccessLevel <; Level:Supervisor !If not a supervisor**
** self.eip.SetColumnEditType(1) !Disable edit of 1st column**
** ELSE**
** !for docs only (not really needed here):**
** self.eip.SetColumnEditType(1,EditInPlace::PUB:PubID) **
** END**
** ReturnValue = PARENT.AskRecord(Request)**
** RETURN ReturnValue**
**See Also: **AddControl




