On 5/1/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
It is pretty normal, that you can not free a component, while in an
event for this control. That's why there is ReleaseComponent, which
frees the component after the events have been processed.
Otherwise you found a bug. Can you create an example?
Ah, I never spotted that mistake. Because I clicked on a Toolbar
button to launch the editor toolbar config screen, I cannot rebuild
the Toolbar from the OnDestroy of the config screen. As technically, I
am still in the ToolbarButton.OnClick event.
I should be able to free off the other Toolbar Buttons though. Correct?
--
Graeme Geldenhuys
There's no place like S34° 03.168' E018° 49.342'
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives