You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Samuel Gomes edited this page Nov 25, 2022
·
2 revisions
The LoadImage method is used to load a valid image file into a control's helper canvas. It is used to assign icons to buttons or menu items as well as to assign an image file to a Picture box control.
Usage:
LoadImage Control(ControlID), ImageFile$
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 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.
To reset a control's canvas, pass an empty ImageFile$ to the LoadImage method: