How to draw a (filled) circle on a panel

Discussion in 'Questions (Windows Mobile)' started by HARRY, Dec 28, 2008.

  1. HARRY

    HARRY Active Member Licensed User

    Hi,

    The title is the question. Does somebody know how to do that?

    Harry
     
  2. klaus

    klaus Expert Licensed User

    You cannot draw directly onto a panel.
    You must, on the panel, use an image control with a bitmap and use the ImageLib or the ImageLibEx.
    Have a look at post 4 in this thread.
    http://www.basic4ppc.com/forum/basic4ppc-wishlist/1583-drawing-image-control.html

    In this exampe you can replace the button by your panle and place the image control onto the panel.

    Attached, the modifyed example.

    Best regards.
     

    Attached Files:

  3. HARRY

    HARRY Active Member Licensed User

    Klaus,

    Thanks, it works perfectly now.

    Harry
     
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