• Toggle Button w/ image (2.0 (2005))

    Home » Forums » Developers, developers, developers » DevOps Lounge » Toggle Button w/ image (2.0 (2005))

    Author
    Topic
    #455809

    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

    Viewing 0 reply threads
    Author
    Replies
    • #1136518

      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.

      • #1136655

        Isn’t that irritating? I always forget about it too and have to chase it down. bummer

    Viewing 0 reply threads
    Reply To: Toggle Button w/ image (2.0 (2005))

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: