EditField.ScrollPosition

Zero-based index of the topmost visible line. Read ScrollPosition to determine the first visible line; write to ScrollPosition to scroll the EditField.

Syntax
ScrollPosition( Integer ) as

Parameters
Integer |

# Notes

Setting ScrollPosition to the last line or beyond the last line will simply move the vertical scrollbar's thumb to the bottom, not necessarily displaying the last line at the top of the EditField. ScrollPosition is 0 if the MultiLine property is False. Can be set in the IDE.