void __fastcall TForm2::Edit1KeyPress(TObject *Sender, char &Key) { if (46 == Key) { if (Edit1->Text.Pos(".") != 0) Key = 0; } }
13,825
社区成员
102,679
社区内容
加载中
试试用AI创作助手写篇文章吧