icons as buttons?????

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mairhtin O'Feannag

    #1

    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 techsolutionsgr oupllc dot com
  • Steve Gerrard

    #2
    Re: icons as buttons?????


    "Mairhtin O'Feannag" <mairhtin@techs olutionsgroupll c.com> wrote in
    message news:e96b3389.0 405231535.12c18 4b5@posting.goo gle.com...[color=blue]
    > 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 techsolutionsgr oupllc dot com[/color]

    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.



    Comment

    • Slaatje

      #3
      Re: icons as buttons?????

      And how about this:

      Use checkboxes set to Graphical...
      It gives you up down and isabled pics!


      Steve Gerrard heeft geschreven in bericht ...[color=blue]
      >
      >"Mairhtin O'Feannag" <mairhtin@techs olutionsgroupll c.com> wrote in
      >message news:e96b3389.0 405231535.12c18 4b5@posting.goo gle.com...[color=green]
      >> 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 techsolutionsgr oupllc dot com[/color]
      >
      >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.
      >
      >
      >[/color]


      Comment

      • Geoff Turner

        #4
        Re: icons as buttons?????

        Don't leave out the Option buttons...

        GST

        "Slaatje" <Sorry-no@mail.com> wrote in message
        news:c8s4iv$m2p $1@reader08.wxs .nl...[color=blue]
        > And how about this:
        >
        > Use checkboxes set to Graphical...
        > It gives you up down and isabled pics!
        >
        >
        > Steve Gerrard heeft geschreven in bericht ...[color=green]
        > >
        > >"Mairhtin O'Feannag" <mairhtin@techs olutionsgroupll c.com> wrote in
        > >message news:e96b3389.0 405231535.12c18 4b5@posting.goo gle.com...[color=darkred]
        > >> 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 techsolutionsgr oupllc dot com[/color]
        > >
        > >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.
        > >
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...