Hi @Puco ,
Could you tell me:
Do you want the label control not to be displayed when entering the detection screen?
Do you want to display the label control when detecting the object fails, rather than display the label control when detecting the object succeeds?
If my assumptions are correct , I suggest you set a variable .
1\ You could try to set the OnVisible property of the detection screen to :
Set(Thevar,0)
2\ Set the Onchange property of Object Detector control to:
Set(Thevar,Thevar+1)
3\ Set the visible property of the label control to:
If(Thevar=0,false,First( ObjectDetector1.GroupedResults.ObjectCount).ObjectCount=0 && Thevar<>0 ,true,false)
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.