INPUTMASK for phone numbers
Posted: Fri Oct 09, 2020 1:35 pm
Anybody has at good working TEXTBOX for phone numbers with INPUTMASK
Can't get this working:
Serge
Can't get this working:
Code: Select all
@ nROW,nCOL TEXTBOX T_PHONE OF Form_1 ;
WIDTH 120 ;
VALUE cPHONE ;
TOOLTIP 'Phone number';
INPUTMASK '(999) 9999-9999';
BACKCOLOR SILVER ;
FONTCOLOR BLUE BOLD ;
ON GOTFOCUS {Form_1.T_PHONE.BackColor := WHITE };
ON LOSTFOCUS {Form_1.T_PHONE.BackColor := SILVER};
ON ENTER Form_1.T_PHONE2.SetFocus // next input field