|
-
September 20th, 2000, 05:39 PM
#1
Huston we have a problem!!! (with putting an image on a button...)
I´m not allowed to use the Swing stuff, and I have a problem with putting an Image on a Button ...
Can anyone, please, tell me how I can put an Image on a Button!
Thank you,
agir
-
September 21st, 2000, 03:49 AM
#2
Re: Huston we have a problem!!! (with putting an image on a button...)
Agir,
If you aren't allowed to use Swing, are you then allowed to use Symantec's library?
Symatec has ImageButton classes that allows easy loading of an image for a button and rest is taken care of.
If you want, I can send the source to you via email.
Otherwise, you can create an ImageButton class yourself by using a canvas as your base class, and overriding the paint(), repaint(), and update() methods. This might take a while but it's definitely possible.
Regards,
dogBear
PS Please Rate this Response!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|