1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-09-19 20:24:54 +00:00

Updated Picture box (markdown)

FellippeHeitor 2016-12-21 23:52:14 -02:00
parent 7b828165d5
commit df8953774e

@ -1 +1,22 @@
A PictureBox control can be used to display a static image file on a form. Alternatively, you can use a PictureBox control as a drawing surface.
#####Using PictureBox as a drawing surface
You can draw directly onto a PictureBox's surface using QB64's drawing commands:
_DEST Control(ControlID).HelperCanvas
'Drawing code here
_DEST 0
Control(ControlID).PreviousValue = 0 'This line will trigger an update/refresh to the control
###[[Events]]
* [[Click|Mouse events#click]]
* [[MouseDown/MouseUp|Mouse events#mousedownmouseup]]
* [[MouseEnter/MouseLeave|Mouse events#mouseentermouseleave]]
###[[Methods]]
* [[LoadImage]]
###[[Properties]] editable at runtime
* [[Top/Left/Width/Height|Position and size]]
* [[Tool tip]]
* [[Hidden]]