Hello, I'm trying to do a WaitFor on a CallSub but it doesn't do anything. 
Here I share my code:
On my Lib i have this:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
And im trying to get _Hide in my code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
But its not working.
			
			Here I share my code:
On my Lib i have this:
			
				B4X:
			
		
		
		If SubExists(mCallBack, mEventName & "_Hide") Then
    CallSub3(mCallBack, mEventName & "_Hide", Me, Manual)
End IfAnd im trying to get _Hide in my code:
			
				B4X:
			
		
		
		Wait For P_Hide(PopUp As BMPopUp, Manual As Boolean)But its not working.
 
				 
 
		 
 
		 
 
		 
 
		