Edmar Frazao Posted July 19, 2017 Share Posted July 19, 2017 Ja achei componentes para mascara no unigui web. mas e para mascara em edits Mobile. Cep Telefone cpf senha como fazer? Alias porque no unigui não tem um edit com mascara nativo obrigado Quote Link to comment Share on other sites More sharing options...
rfssilvasp Posted February 16, 2018 Share Posted February 16, 2018 Bom dia Edmar ! Vc conseguiu utlizar máscaras ? Como fez? Quote Link to comment Share on other sites More sharing options...
Luciano Benito Posted February 22, 2018 Share Posted February 22, 2018 Boa tarde Pessoal, veja se ajuda, var FormatarTelefone: string; if (UniDBEditTelefoneRefComercial.Text <> '') then begin if Length(SomenteNumero(UniDBEditTelefoneRefComercial.Text)) = 10 then begin FormatarTelefone:= '(' + Copy(UniDBEditTelefoneRefComercial.Text, 1,2) + ')' + Copy(UniDBEditTelefoneRefComercial.Text, 3,4) +'-' + Copy(UniDBEditTelefoneRefComercial.Text, 7,4); end else begin if Length(SomenteNumero(UniDBEditTelefoneRefComercial.Text)) = 11 then begin FormatarTelefone:= '(' + Copy(UniDBEditTelefoneRefComercial.Text, 1,2) + ')' + Copy(UniDBEditTelefoneRefComercial.Text, 3,5) +'-' + Copy(UniDBEditTelefoneRefComercial.Text, 8,4); end else begin ShowMessage('Este Campo é para telefone Celular com "nono dígito" ou telefone fixo, Ex: 41988888888 ou 4133333333'); UniDBEditTelefoneRefComercial.Clear; UniDBEditTelefoneRefComercial.SetFocus; Abort; end; end; UniDBEditTelefoneRefComercial.Text:= FormatarTelefone; end; Att. Luciano Benito Quote Link to comment Share on other sites More sharing options...
benilton Posted October 29, 2018 Share Posted October 29, 2018 isso funciona no mobile? Quote Link to comment Share on other sites More sharing options...
benilton Posted October 31, 2018 Share Posted October 31, 2018 No dia 19/07/2017 às 17h03, Edmar Frazao disse: Ja achei componentes para rímel não unigui web. mas e para rímel em edições Mobile. Cep Telefone cpf senha como fazer? Alias porque não unigui não tem edite com rímel nativo obrigado resolvedor satisfeito? 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.