How to draw a (filled) circle on a panel

HARRY

Active Member
Licensed User
Longtime User
Hi,

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

Harry
 

klaus

Expert
Licensed User
Longtime 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.b4x.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.
 

Attachments

  • DrawOnPanel.sbp
    882 bytes · Views: 203
Top