Post a custom message from the event and do the processing when the message is called.
Although your situation seems an odd thing to do without having more information. On Tue, Oct 13, 2009 at 8:22 AM, Robert martin <r...@chreos.co.nz> wrote: > Hi Guys > > I have a combobox with an event (onChange) that refreshes the display. > As part of that refresh the combobox is freed. This causes an AV as the > combo box has not yet finished processing its event but is being freed. > What would be the best way of dealing with this scenario? > > Cheers > Rob > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe