Delete Procedure header lazarus / 9-Editor ---------------------------------------------------------------------- Zath · 2016-09-14 14:25 Is there any preferred way to remove a procedure header if I accidentally add a click event? If I remove the event procedure, I get a forward declaration error and the header is highlighted in red. Is there a magic keystroke to then delete it or is it only possible by manually clicking in the source and deleting it manually ? Thanks. ---------------------------------------------------------------------- Bart · 2016-09-14 14:50 There is a setting in Tools->Options that will automatically remove empty methods upon compile. That may or may not be helpfull to you. Bart ---------------------------------------------------------------------- Zath · 2016-09-14 14:54 Quote from: Bart on September 14, 2016, 04:50:15 pmThere is a setting in Tools->Options that will automatically remove empty methods upon compile. That may or may not be helpfull to you. Bart Thanks, I'll have a look.