Skip to first unread message

Jacob Butchko

unread,
Sep 17, 2015, 6:38:46 PM9/17/15
to MIT App Inventor Forum
Hi, I've made the "Digital Doodle" app and I'd like to improve it by adding a button that would remove the picture from the canvas. I've done so far:

When clearbutton .Click
do     set Canvas1 . Background Image to

Italo

unread,
Sep 17, 2015, 8:38:06 PM9/17/15
to MIT App Inventor Forum
Use the CANVAS CLEAR block

SteveJG

unread,
Sep 17, 2015, 8:38:48 PM9/17/15
to mitappinv...@googlegroups.com
Instead try    Canvas1.Clear

This assumes you did not actually set a Canvas1.BackgroundImage with code.


Methods

Clear()
Clears anything drawn on this Canvas but not any background color or image.

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages