Delphi Edit Text Integer: Minus Sign Error

Viewed 2775

Hi I am very beginner for Delphi. But what confuses me is that I have Edit1.Text and variable "i" which uses StrToInt(Edit1.Text); Everything is Ok until I type minus sign

If I copy/paste minus with number (eg -2) it works Can Anyone help me! Regards, Umar

2 Answers
Related