What do you want to save?
Add Code snippet
New code examples in category Delphi
-
Avishek Dutta 2021-10-28 01:53:09
How to read text files in delphi
var Form1: TForm1; implementation {$R *.dfm} // Include form definitions procedure TForm1.FormCreate(Sender: TObject); var fileName : string; myFile : TextFile; data : string; begin // Try to open a text file for writing to fileName... Add solution -
Hey_you 2021-10-22 03:10:08
how to validate if the text in edit has numbers in and to show a message if it has in delphi
// Taking OP question obsessively literally, this // function doesn't allow negative sign, decimals, or anything // but digits function IsValidEntry(s:String):Boolean; var n:Integer; begin result := true; for n := 1 to Length(s) do begin if (s[... Add solution