Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Toggle Button w/ image (2.0 (2005))

    You can create a toggle button by setting the Appearance property of a checkbox to Button. Is it possible to not have any text, but instead have an image (or two) as the background? I want to place text alignment buttons on a Windows form that would look and act like text alignment toolbar buttons. I guess I'll have to use a regular button and flipflop two background images. If anyone has a better idea, please let me know. TIA --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Toggle Button w/ image (2.0 (2005))

    Never mind, Radio buttons also have the Appearance property, so I'm happy. The image was not appearing because I had the FlatStyle set to System, which makes text look better. If the FlatStyle is set to Standard, then the image shows up.
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Toggle Button w/ image (2.0 (2005))

    Isn't that irritating? I always forget about it too and have to chase it down. <img src=/S/bummer.gif border=0 alt=bummer width=15 height=15>
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •