ServerEdit

[event icon] ServerEdit() Event

Server-side edit

Applies to: Grid

Introduced in KCML version 6.00


>

ServerEdit

This event can only occur when a grid is in AutoEdit mode and the AutoEdit property of the current cell was set to the ServerEdit enumeration. The event is triggered when a cell with that property becomes the current cell. The program must then bring up a child form within the event handler. If the handler sets the ValidateText$ property and returns TRUE then KCML will check ValidateText$ against Text$ and throw a EditValidate() event if they are different. If that EditValidate() event returns FALSE then the cell stays the current cell, the text is reset and a new ServerEdit event is thrown. If, on the other hand, the validate event succeeds and returns TRUE, focus shifts to the next cell that will take focus.

See also

Grid methods, properties and events.