Roundet Button

Discussion in 'Questions (Windows Mobile)' started by Georg, Jan 3, 2009.

  1. Georg

    Georg Member Licensed User

    Hello,

    how can i realize a rounded button and a rounded imagebutton?
     
    Last edited: Jan 3, 2009
  2. Cableguy

    Cableguy Expert Licensed User

    I have a Dll called ImageButtonEX that is meant for the desktop, and DOES coppe with transparencies, so any shape is possible for either a button or an image...
     
  3. klaus

    klaus Expert Licensed User

    Here you have an example using the Transparent parameter.

    Best regards.
     

    Attached Files:

  4. Shrek_Old

    Shrek_Old Member Licensed User

    Code:
    Sub btnQuit_Click
    '   If btnQuit.Transparent=True Then
    '      btnQuit.Transparent=False
    '   Else
    '      btnQuit.Transparent=True
    '   End If
    [B]btnQuit.Transparent = Not(btnQuit.Transparent)[/B]
    End Sub
     
  5. klaus

    klaus Expert Licensed User

    Hi Shrek_Old,

    Thank's for shortening the code.
    It's never too late to learn.

    Best regards.
     
  6. taximania

    taximania Well-Known Member Licensed User

    One to add to the snippets database :)
    Nice one Shrek.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice