Toggle Button?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan

    #1

    Toggle Button?

    I want to create a button on a Windows form that stays depressed when a user
    clicks it (and raises if they click it again). How do I do this?

    Thanks,
    Ryan


  • Herfried K. Wagner [MVP]

    #2
    Re: Toggle Button?

    "Ryan" <Tyveil@newsgro ups.nospam> schrieb:[color=blue]
    >I want to create a button on a Windows form that stays depressed when a
    >user clicks it (and raises if they click it again). How do I do this?[/color]

    You may want to use a checkbox control with 'Appearance' set to 'Button'.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Brian Tkatch

      #3
      Re: Toggle Button?

      Ryan wrote:[color=blue]
      > I want to create a button on a Windows form that stays depressed when a user
      > clicks it (and raises if they click it again). How do I do this?
      >
      > Thanks,
      > Ryan[/color]

      Use a RadioButton. And change Appearence to button.

      Though, if you really want it to stay depressed, just hurl a few
      insults. That usuaully does the trick. :)

      B.

      Comment

      • Ryan

        #4
        Re: Toggle Button?

        LOL.. thanks :)

        "Brian Tkatch" <Maxwell_Smart@ ThePentagon.com > wrote in message
        news:1151593544 .704741.243110@ 75g2000cwc.goog legroups.com...[color=blue]
        > Ryan wrote:[color=green]
        >> I want to create a button on a Windows form that stays depressed when a
        >> user
        >> clicks it (and raises if they click it again). How do I do this?
        >>
        >> Thanks,
        >> Ryan[/color]
        >
        > Use a RadioButton. And change Appearence to button.
        >
        > Though, if you really want it to stay depressed, just hurl a few
        > insults. That usuaully does the trick. :)
        >
        > B.
        >[/color]


        Comment

        Working...