I have an Edit Box on a form. The name of the Edit Box is Interval. I want a person to enter a number in the edit box and write that number to an ini file like this:
ini->WriteInteger("com 1", "Search Interval", Interval->Text);
However i get an error because the TextBox wants an ANSI String.
I have tried StrToInt and IntToStr conversions with no luck. Does anyone have any advice?
Thanks
fergmj
ini->WriteInteger("com 1", "Search Interval", Interval->Text);
However i get an error because the TextBox wants an ANSI String.
I have tried StrToInt and IntToStr conversions with no luck. Does anyone have any advice?
Thanks
fergmj