Announcement

Collapse
No announcement yet.

Cleaning just one object?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cleaning just one object?

    Hi,
    I am trying to make a program that has a drag-and-drop tool.
    I am trying to clean the object, and then display it again on the touchscreen coordenates.
    But I only know how to clean all the screen, erasing everything.
    There is any way that I only clean one object at a time?

  • #2
    Hello,

    There's no direct way of "unshowing" the widgets, what I would suggest is placing "a piece of the background" over the widget that you wish to delete.

    For example, if you have a background color of black and you wish to delete a 20 x 20 Fancy button on coordinate 5,10; you could place a 20 x 20 black rectangle on coordinate 5,10.

    This should appear like the button is deleted when in reality it was just covered with a reactangle that has a similar color to the backgorund.

    I hope this helps.

    Best regards,
    Michael

    Comment

    Working...
    X