App error Runtime error width and height must be > 0

How to fix the Runtime error width and height must be > 0 error?
Screenshot_2023-07-13-23-13-27-33_2c6313b17f63df430df51bf4de17c6e6
All the components:


Screenshot_2
All the codes:




When exactly do you get that error?
Taifun

There is the aia of the project.
Filigranli_Kamera.aia (570.9 KB)
This happens when after taking the fhoto on this component
Screenshot_3

In the camera after picture event only set the background image of the canvas and start a clock to draw on the canvas a few milliseconds later in the clock timer event

Taifun

1 Like

Problem solved like this, Thanks :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.