Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3699

Textfield selstart

$
0
0

If I move a textfield into a variable, it works fine under macOS, but values get lost under Windows. In this example, the cursor position is missing (for a possible Undo of the last character).

Window.Textfield.Text = “ABC”
var t as Textfield
t = Window.Textfield
msgbox str(t.Selstart) // gives 3 under macOS, gives 0 under Windows

Is this a bug or a known issue, any suggestions? Thanks.

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3699

Trending Articles