Clearing the bmps above butttons

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Clearing the bmps above butttons


    I have a calendar app, there in
    the calendar am setting bmp when on particular dates in calendar.

    Like if any event occurred on
    that day , I will set bmp image on that day.

    My days are all buttons eg
    1- 31 days are buttons.

    Based on event I’ll set bmp on
    the button for that particular month on that given day.

    The problem is if I traverse to
    next or previous month ,the bmps are retaining on buttons .

    All the buttons only once am
    creating and am not redrawing.

    How can I clear the images
    without deleting the buttons