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
You can use a PictureBox control as a drawing canvas and use all QB64 drawing commands. To do so, use the methods BeginDraw and EndDraw:
BeginDraw PictureBox1 'Replace PictureBox1 with the actual ID of the desired PictureBox
'Drawing code goes here
EndDraw PictureBox1
A good place to add code that updates a PictureBox's software drawing is the BeforeUpdateDisplay event handler (SUB __UI_BeforeUpdateDisplay), as it is run before every form repaint.