Scenario: WebListBox control, double clicking on the row, the prompt dialog shows with entry field populated with value from the selected row (this is the workaround copy to clipboard).
In Xojo2018 the value in the entry field is selected (highlighted), in Xojo2024R1 the value is not selected (highlighted).
I have tried putting into Opening event following:
Me.SelectAll
but that didn’t work.
I asked ChatGPT and it suggested:
Me.SelStart = 0
Me.SelLength = Len(Me.Text)
but that simply results in errors in Xojo2024R1.
How can I highlight the value in the entry field programmatically?
9 posts - 3 participants