Posted 19 April 2021, 4:49 am EST - Updated 3 October 2022, 11:14 pm EST
Hello,
I’m trying to use regexp edit mask on ComboBox.
I want to restrict use input to decimal only.
Here’s what I have :
cmb.MaskInfo.RegexpEditMask = "\D*[,]?\D*"
cmb.MaskInfo.ShowLiterals = C1.Win.C1Input.ShowLiteralsEnum.WhenNextStarted
That restricts well input but when putting a comma, it’s displayed at the end…
NB : I cannot use datatype of ComboBox because translateValue is set to true (Combo is binded).
How can I proceed?