Hi,
I have noticed a bug with my application, if the form doesn't have the focus (so its not the activeform) then my application throws an error.
Is there another way I can carry this out:
I have tried all mannors of bits to try and remove the 'ActiveForm' element and it still compile correctly.Code:((Form1)Form1.ActiveForm).panel1.Controls.Add(aLabel);
Is there a way to achieve this?
Many Thanks,
Al




Reply With Quote