InitialCursorPos

Prev Next Home Home Table Of Contents Index

InitialCursorPos (Byte)

When inputting a string using Readln, MarxMenu positions the cursor at the beginning of the string if the InputString variable is set. You can override this by setting InitialCursorPos to a value other than 1. InitialCursorPos can be set to a value beyond the end of the string. After input, InitialCursorPos is set back to 1.


Example:
InputString = '1234' InitialCursorPos = 3 ;starts at 3rd character InitialCursorPos = Length(InputString) + 1 ;starts at end of string St = Readln

See Also: Readln

Category: StringInput

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home