I
IdleBrain
Hello:
I have written the following code in the main form close event
procedure:
If Not instfrmMain.rb1 Is Nothing Then instfrmMain.rb1.Checked = True
But I still get an error from the JIT compiler that the rb1 component
does not exist any more..ie. it is disposed..and I am trying to access
its properties.
How can we make sure that the component exists before any of its
property is changed?
Thanks
I have written the following code in the main form close event
procedure:
If Not instfrmMain.rb1 Is Nothing Then instfrmMain.rb1.Checked = True
But I still get an error from the JIT compiler that the rb1 component
does not exist any more..ie. it is disposed..and I am trying to access
its properties.
How can we make sure that the component exists before any of its
property is changed?
Thanks