From 7db1bf9bfd0c62f73a02f8f4e8ff392a436e74db Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Sun, 17 Jun 2018 18:58:14 -0300 Subject: [PATCH] Updated LoadImage (markdown) --- LoadImage.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LoadImage.md b/LoadImage.md index 7fbff9d..0e9bbb2 100644 --- a/LoadImage.md +++ b/LoadImage.md @@ -6,4 +6,8 @@ Usage: If the ImageFile$ specified can't be found or isn't a valid image, one of the following will happen: * For [[Button]] and [[Menu item|Menus]] controls, the method ignores the failed load attempt. -* For [[Picture box]] controls, an "image not found" or "invalid image file" warning is shown in the control's canvas. \ No newline at end of file +* For [[Picture box]] controls, an "image not found" or "invalid image file" warning is shown in the control's canvas. + +To reset a control's canvas, pass an empty ImageFile$ to the LoadImage method: + + LoadImage Control(ControlID), "" \ No newline at end of file