Ghost Posted August 21, 2023 at 11:12 PM Report #631684 Posted August 21, 2023 at 11:12 PM Boa noite Preciso da vossa ajuda, estou a criar um projeto, em que tenho que colocar as matriculas de carros, já coloquei uma masked text box ao programa mas como o parque automóvel portugûes neste momento tem três tipos de matriculas eu só consigo colocar um tipo de matriculas na masked text box... A minha pergunta é existe alguma forma de colocar os três tipos matriculas na masked text box... ou terei de colocar três masked text boxs... desculpem a ignorância 😄 Preciso da vossa ajuda, Diogo Fernandes Diogo Fernandes
RubenAlves Posted August 22, 2023 at 09:58 AM Report #631686 Posted August 22, 2023 at 09:58 AM Bom dia, Podes tentar utilizar uma regular expression (([A-Z]{2}-\d{2}-(\d{2}|[A-Z]{2}))|(\d{2}-(\d{2}-[A-Z]{2}|[A-Z]{2}-\d{2}))) Com o DevExpress funciona mão sei qual estás a utilizar. 1 Report
Ghost Posted August 23, 2023 at 09:53 PM Author Report #631697 Posted August 23, 2023 at 09:53 PM Boa noite Ruben, olha estou a utilizar o visual studio 2018, faço essa regular expression... na masked text box?? Diogo Fernandes
RubenAlves Posted August 28, 2023 at 11:11 AM Report #631708 Posted August 28, 2023 at 11:11 AM Sim, deve resultar. Eu estou a utilizar o Visual Studio 2022 e tambem o DevExpress por isso pode ser um pouco diferente.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now