Menu

#28 PushButton: new name and image support

open
nobody
5
2004-07-25
2004-07-25
No

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

Discussion

  • Jim Crafton

    Jim Crafton - 2004-10-10

    Logged In: YES
    user_id=7743

    You might consider just deriving a new class and overriding
    the paint() method?

     
  • Glen F

    Glen F - 2005-02-02

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB