472,127 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

icons as buttons?????

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
3 5799

"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
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
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.

Similar topics

1 post views Thread by Dave | last post: by
reply views Thread by udir | last post: by
5 posts views Thread by Cecilia Bergengruen | last post: by
3 posts views Thread by lindsay | last post: by
reply views Thread by Ryan Liu | last post: by
reply views Thread by Kristian | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.