Parameter | Description | ||||
---|---|---|---|---|---|
iItem | The item number | ||||
iChange | A folded integer defined as follows:
|
If a non-zero value is returned, the change will not take place
Procedure OnDeltaPos Integer iItem Integer iChange Returns Integer
The OnDeltaPos event message has no definition by default. It can be used to provide actions based on the amount of change in this object (from the time it took the focus) and/or its value at the point the focus is moved off it. Its value at the time of taking focus is (low(iChange)). The amount of change made by users is (hi(iChange)), which may be negative.
If you define this procedure to return any non-zero value, the change will not take place. If your procedure does not execute a procedure_return, the change will take place.