I load spreadsheets into a StringGrid and then I insert them into the database, I wanted a thread to allow this to be canceled, ie to cancel the stringGrid fill, the button becomes "Inclinable" as you already know, until the fill is complete. Detail, I show this Rectangle and a progressBar just for the user to follow. And it will not boot into the system while it imports, you can just cancel Anyone have any idea how I can make this thread to fill the StringGrid?