我想用EDIT控件得到一个字符串!可怎么定义都不成功!
麻烦告知!
String Inoput=IntToStr(Edit1->Text);
系统错误提示:
[C++ Error] change.cpp(25): E2285 Could not find a match for 'IntToStr(AnsiString)'
...全文
36023打赏收藏
关于Edit的用法!
我想用EDIT控件得到一个字符串!可怎么定义都不成功! 麻烦告知! String Inoput=IntToStr(Edit1->Text); 系统错误提示: [C++ Error] change.cpp(25): E2285 Could not find a match for 'IntToStr(AnsiString)'
StringReplace replaces occurrences of the substring specified by OldPattern with the substring specified by NewPattern. StringReplace assumes that the source string, specified by S, may contain Multibyte characters.
If the Flags parameter does not include rfReplaceAll, StringReplace only replaces the first occurrence of OldPattern in S. Otherwise, all instances of OldPattern are replaced by NewPattern.
If the Flags parameter includes rfIgnoreCase, The comparison operation is case insensitive.