Quote Originally Posted by mickey
ok. but why is it null? button21 is a button of mainform; how do I use it?
How do you create that "my" object? Maybe you create MyWidget before you initialize button21?