Could someone please try the following and tell me what I am doing wrong. This bug appears to be have always been present. I am amazed that no one else has struck it before. Its still there in D7.
Create a new project, drop three Tmaskedit controls and pu the following code in formcreate procedure TForm1.FormCreate(Sender: TObject); begin EDT1.EditMask := '000\0000000;;*'; EDT2.EditMask := '000\1000000;;*'; EDT3.EditMask := '000\2000000;;*'; EDT1.Text := '10000000000'; EDT2.Text := '10010000000'; EDT3.Text := '10020000000'; end; Any other character other than 0 and 1 appears to work fine... and I need 0 to 9 to work. The same bug is in stringgrid - so it must be all the vcl controls that support masks. Regards Rohit ================================================================= ===== CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand PH (649) 489-2280 FX (649) 489-2290 email [EMAIL PROTECTED] or [EMAIL PROTECTED] ================================================================= ===== _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
