TextBox SelectionStart Property

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

SelectionStart property of the TextBox is always zero (0) even after assigning a value. Attached image shows that after executing line 99 and get the value in Immediate Window, the value is zero at line 100.

Thanks

  • You must to post comments
0
0

Hi Frank,

I’ll make one and send it to you.

Regards.

  • You must to post comments
0
0

Thanks Cris.

AutoCompleteMode for Combobox should be working. Can you please send us details or a sample to verify ?

Best regards
Frank

  • You must to post comments
0
0

Hi Frank,

Confirmed working in TextBox. Inform you later about combobox. And I have a quick question for you and don’t want to create another thread for this.

Is AutoCompleteMode for ComboBox done? Just wondering. It seems not working.

Thanks.

  • You must to post comments
0
0

Hi Cris,

this bug was logged as WJ-7729 and it should be fixed in 1.2.82.

Best regards
Frank

  • You must to post comments
0
0

Tried that in TextBox but not in ComboBox yet. Test it later.

Thanks.

  • You must to post comments
0
0

One more thing, if you want to update the client with the selected range, make sure that the textbox or combo has the focus. Wisej will not send back the selection range unless the control is focused. The reason is that the browsers change the focus when the selection range is applied.

  • You must to post comments
0
0

Yes, it’s the same. Same fix and workaround.

  • You must to post comments
0
0

Hi Luca,

This bug also seems to apply in ComboBox when I was using a KeyUp event. If you don’t mind, maybe you can also check it.

Thanks.

  • You must to post comments
0
0

Yes, thanks. Confirmed bug and fixed in the next update.

As a workaround, set the SelectionLength to 0 or higher before setting the SelectionStart.

  • You must to post comments
Showing 9 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json