PushButton: new name and image support
Brought to you by:
ddiego
With reference to
http://vcf.sourceforge.net/forums/index.php?act=Post&CODE=02&f=30&t=143
The VCF Online Forums -> Replying in MessageDialog
tasks:
1)
Change name to PushButton
2)
add image support to this class
Logged In: YES
user_id=7743
You might consider just deriving a new class and overriding
the paint() method?
Logged In: YES
user_id=1206567
Has anything been done on this? I noticed the PushButton
has a method for passing in an ImageList ... but I haven't
been able to figure out how to get it to actually draw the
image.
BTW: Deriving a new class and overriding the paint method
doesn't work very well. If you draw the image before calling
the base class's paint, you can't see the image. And if you
draw it after, all you get is the image. Yes, you can click on
it ... but it doesn't look or act like a button.