Jeremy, if it doesn't work, you could also try:
MaskEdit1.Text := FloatToStrF(10.00, ffFixed, 15, 2); // last 2 params are precision and # of digits after decimal point Sergei > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owner-delphi@;delphi.org.nz]On > Behalf Of vss > Sent: Thursday, 14 November 2002 11:25 AM > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Masked edit Madness > > > thanks I will try the first one, the second one def. does not > work for > me. > > Jeremy > > -----Original Message----- > From: "Sergei Stenkov" <[EMAIL PROTECTED]> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Date: Thu, 14 Nov 2002 11:02:53 +1100 > Subject: RE: [DUG]: Masked edit Madness > > > MaskEdit1.Text := Format('%f', [10.00]); > > MaskEdit1.Text := '10.00'; > > > > either one works for me > > > > Sergei > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > [mailto:owner-delphi@;delphi.org.nz]On > > > Behalf Of vss > > > Sent: Thursday, 14 November 2002 10:42 AM > > > To: Multiple recipients of list delphi > > > Subject: [DUG]: Masked edit Madness > > > > > > > > > Hi all. I have a masked edit control. > > > I am trying to populate the control, but the text I am > assigning to > > > the .txt property just will not show up. > > > > > > the value is 10.00 > > > Do I need to do anything special ? > > > > > > Jeremy > > > > > > -------------------------------------------------------------- > > > ------------- > > > New Zealand Delphi Users group - Delphi List - > > > [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > To UnSub, send email to: [EMAIL PROTECTED] > > > with body of "unsubscribe delphi" > > > Web Archive at: > http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > > -------------------------------------------------------------- > --------- > > ---- > > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/