[Lazarus] How do you set an event at runtime?

2011-01-04 Thread Frank Church
I need to create some databases at runtime which use same event handling code as a component created at design time. Is there some way to set the event handling property of a component at runtime? -- Frank Church === http://devblog.brahmancreations.com --

Re: [Lazarus] How do you set an event at runtime?

2011-01-04 Thread Graeme Geldenhuys
2011/1/4 Frank Church vfcli...@gmail.com: Is there some way to set the event handling property of a component at runtime? SomeComponent.OnSomeEvent := @YourEventHandler; -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI

Re: [Lazarus] How do you set an event at runtime?

2011-01-04 Thread Peter Williams
Hi Frank, Date: Tue, 4 Jan 2011 17:56:54 + From: vfcli...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] How do you set an event at runtime? I need to create some databases at runtime which use same event handling code as a component created at design time