HI, All
MaskedEditTest lib v.1.52.
How to set the cursor position into the first digit position at focus received, if
?
For correct typing start of the whole tel number.
Setting txtPhone.SelectionStart = 4 is changing the position (at this moment txtPhone.CompactText = "+7 () --"), but only while "Sub txtPhone_FocusChanged" is running, after it the position is again jumping to the tapped position.
MaskedEditTest lib v.1.52.
How to set the cursor position into the first digit position at focus received, if
B4X:
txtPhone.Format = "+7 (###) ###-##-##"
For correct typing start of the whole tel number.
Setting txtPhone.SelectionStart = 4 is changing the position (at this moment txtPhone.CompactText = "+7 () --"), but only while "Sub txtPhone_FocusChanged" is running, after it the position is again jumping to the tapped position.
Last edited: