Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mask edit type

Status
Not open for further replies.

Froskoy

Programmer
Jul 25, 2009
18
GB
Hi,

I'm using a mask edit but don't seem to be able to use the StrToInt() function as I can with the contents of a normal edit box.

How can I convert the contents of a mask edit box to an integer?

Many thanks,

Froskoy.
 
showmessage(inttostr(strtoint( MaskEdit1.text)));

Worked fine for me. What is your mask?
 
What is the error message that you get? Copy and paste it here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top