Chris,
>How do I retrieve the position of the cursor within a XbpSLE object?
oSLE:QueryMarked() -> aMarked
>For example, if the text "1234567" is typed into a XbpSLE object and the
>user manually clicks the mouse inside the object and puts the cursor
>between the 3 and 4 (example: 123|4567), how can I retrieve the cursor
>position to know it is currently at position 4?
If the cursor is between the "3" and the "4", :QueryMarked() would return:
{4, 4} and if the "4" is highlighted, :QueryMarked() would return: {4, 5}.
Hope that helps,
Andreas
Andreas Gehrs-Pahl
Absolute Software, LLC
phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web: http://www.AbsoluteSoftwareLLC.com
[F]: https://www.facebook.com/AbsoluteSoftwareLLC