I'm currently overhauling my dirt oval racing pointkeeping app a bit and I've decided to start with the folder saving aspect of my app.
I want to change the file path from just C:\
to a path that saves directly to the user's desktop to make saving and finding the saved folder from my application a lot easier (the user then writes selected CSV files to that folder).
Current code I'm using:
procedure TfrmExDialog.FormShow(Sender: TObject);
var
sInput:string;
begin
sInput:=InputBox('Folder creation','Please enter the name of event without spaces (instead of spaces you can use _ )','C:\');
folderForToday:=sInput;
createdir(folderForToday);
end;
Thanks in advance for the help!
Kind Regards
PrimeBeat