Disable or ReadOnly Field in EIP Class

Hi all…

I want to Disable or Readonly some field in EIP Class when ChangeRecord…
What should I do?

Regards,

Wawa

You can use the GetEdit function and return false for the column. This will cause the column to be skipped but does not give a visual clue to the user.

Use the InitControls method and set the self.EQ.Control to null for the column you want to disable. this will diabel the column and set the color to gray so the user can see what happened.

1 Like

Hi Dennis…

Thank you for your posting… but I still problem with my EIP browse class…

I have 8 column with EIP browse… column #2, #3, #4, #6, #7 and #8 disable by default… column #1 and #5 enable by default…

I want to disable column #1 when Change (update) record, column #2, #3, #4, #6, #7 and #8 still disable, only column #5 enable…

What should I do…

Regards,

Wawa.