Thursday 28 March 2013

this

One thing I've noticed a lot of people asking is about the constructors asking to instantiate property _Label's container/frame. The hint that Fardad gave was (i.e. this). It's saying that the owner class should be set to the frame of the _Label, the code for that would be:  _Label.frame(this); since this is a pointer to the class it would pass the class to _Label's frame.

No comments:

Post a Comment