|If I remember correctly then it's not safe to do anything with an object after it's been disposed because the Garbage Collector may free it up (make it null essentially) at any point.
netJP12L wrote:What if I am done using 100 Button objects wouldn't they perserve their space in memory
Set them to null after you've disposed of them:
aButton = null;
That'll make sure you don't access them accidentally, the GC will free them up as and when it needs space.
I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder