SIRE Software Posted April 26, 2021 Share Posted April 26, 2021 Good morning everyone! I need to get a functionally in a TUniDBNumberEdit, the maxlength of the numberEdit must be 10 digits long but right after i enter the fifth digit then the next 5 digits should show as decilmals. Does anyone has done something like that? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2021 Share Posted April 26, 2021 23 minutes ago, Victor Dominguez said: I need to get a functionally in a TUniDBNumberEdit, the maxlength of the numberEdit must be 10 digits long but right after i enter the fifth digit then the next 5 digits should show as decilmals. Does anyone has done something like that? Hello, Do you have an example for the VCL? Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted April 26, 2021 Author Share Posted April 26, 2021 1 hour ago, Sherzod said: Hello, Do you have an example for the VCL? It is a devExpress component TcxDBMaskEdit, and the mask they are applying is (1?[0][0])|\d{0,5}'.'\d{0,5} then maskKing property is emkRegExprEx Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted May 4, 2021 Author Share Posted May 4, 2021 On 4/26/2021 at 10:22 AM, Sherzod said: Hello, Do you have an example for the VCL? I don't have the example because It is a devExpress component TcxDBMaskEdit, and the mask they are applying is (1?[0][0])|\d{0,5}'.'\d{0,5} then maskKing property is emkRegExprEx. Is it possible to apply this kind of masks on uniEdits ?? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 4, 2021 Share Posted May 4, 2021 1 minute ago, Victor Dominguez said: I don't have the example because It is a devExpress component TcxDBMaskEdit, and the mask they are applying is (1?[0][0])|\d{0,5}'.'\d{0,5} then maskKing property is emkRegExprEx. Is it possible to apply this kind of masks on uniEdits ?? The mask you are using is not very clear to me. Please create a video or gif. Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted May 4, 2021 Author Share Posted May 4, 2021 Here is the gif I hope it helps! thank you! Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted May 4, 2021 Author Share Posted May 4, 2021 32 minutes ago, Sherzod said: The mask you are using is not very clear to me. Please create a video or gif. I just posted the gif Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 5, 2021 Share Posted May 5, 2021 11 hours ago, Victor Dominguez said: I just posted the gif Thanks. I will try to analyze this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.