I'm trying to add items to a list box which is on a MDI child form from other areas in the code..
I tried to use this code:
FrmMain.ActiveMDIChild.Listbox.Items.Add( ' Test');
where FrmMain is the parent form of the MDI form.
the code says that it expects a 'Field Identifier' after
I am also only using version 1 of delphi.
How can I add to the listbox which is on a MDI form from anywhere in my code and not just in the file it was declared in?
Thanks for you help...