By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,983 Members | 1,627 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,983 IT Pros & Developers. It's quick & easy.

icons as buttons?????

P: n/a
Hello,

Please don't excoriate me, but i have what may be a simple question.
I want to make and application that uses icons as buttons, but I
cannot find an example of how to do this. Can someone help me out
here?

Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in
message news:e9**************************@posting.google.c om...
Hello,

Please don't excoriate me, but i have what may be a simple question.
I want to make and application that uses icons as buttons, but I
cannot find an example of how to do this. Can someone help me out
here?

Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com


Two choices:

Use an image control. Set its picture to the icon, and write a click
event handler. It won't give feedback (i.e. look depressed) unless you
program that in as well.

Use a command button. Set the Style to Graphical, delete the caption,
and set its picture property to the icon. Use as any other button. It
will still have the raised border, and look depressed when it is
clicked.

Jul 17 '05 #2

P: n/a
And how about this:

Use checkboxes set to Graphical...
It gives you up down and isabled pics!
Steve Gerrard heeft geschreven in bericht ...

"Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in
message news:e9**************************@posting.google.c om...
Hello,

Please don't excoriate me, but i have what may be a simple question.
I want to make and application that uses icons as buttons, but I
cannot find an example of how to do this. Can someone help me out
here?

Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com


Two choices:

Use an image control. Set its picture to the icon, and write a click
event handler. It won't give feedback (i.e. look depressed) unless you
program that in as well.

Use a command button. Set the Style to Graphical, delete the caption,
and set its picture property to the icon. Use as any other button. It
will still have the raised border, and look depressed when it is
clicked.

Jul 17 '05 #3

P: n/a
Don't leave out the Option buttons...

GST

"Slaatje" <So******@mail.com> wrote in message
news:c8**********@reader08.wxs.nl...
And how about this:

Use checkboxes set to Graphical...
It gives you up down and isabled pics!
Steve Gerrard heeft geschreven in bericht ...

"Mairhtin O'Feannag" <ma******@techsolutionsgroupllc.com> wrote in
message news:e9**************************@posting.google.c om...
Hello,

Please don't excoriate me, but i have what may be a simple question.
I want to make and application that uses icons as buttons, but I
cannot find an example of how to do this. Can someone help me out
here?

Mairhtin ... aka mairhtin at techsolutionsgroupllc dot com


Two choices:

Use an image control. Set its picture to the icon, and write a click
event handler. It won't give feedback (i.e. look depressed) unless you
program that in as well.

Use a command button. Set the Style to Graphical, delete the caption,
and set its picture property to the icon. Use as any other button. It
will still have the raised border, and look depressed when it is
clicked.


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.