Forum > Beginners

Training program

<< < (2/2)

wildfire:
You can call the procedure anything you want eg tForm1.ACheckBoxChanged(Sender: TObject), just ensure all the relevant events point to it.

Zvoni:

--- Quote from: wildfire on June 29, 2022, 02:10:51 pm ---You can call the procedure anything you want eg ACheckBoxChanged, just ensure all the relevant events point to it.

--- End quote ---
... and that it has the correct signature

wildfire:
Yeah, I should have noticed this was the beginners section.

@OP I've edited my post.

pascal111:
I changed the code to be more acceptable in a formal academic Lazarus forum:

https://github.com/pascal111-fra/Lazarus-programs/blob/main/example1/unit1.pas

Navigation

[0] Message Index

[*] Previous page

Go to full version