mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-09-18 19:54:44 +00:00
Created LoadImage (markdown)
parent
834a915795
commit
2bf0bf746b
1 changed files with 8 additions and 0 deletions
8
LoadImage.md
Normal file
8
LoadImage.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
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.
|
Loading…
Reference in a new issue