 mikie
		
			mikie
		
		
		
		
		
		
		
		
	
			01-24-2013 10:04 AM
I'm creating controls dynamically with NewCtrl(). I now need to remove them and create different controls.
How do I remove/delete a control that I created with NewCtrl?
Solved! Go to Solution.
 Wolfgang
		
			Wolfgang
		
		
		
		
		
		
		
		
	
			01-24-2013 10:08 AM
01-24-2013 10:29 AM
I looked up Delete and Remove but didn't think of "Discard"
The documentation for InstallCtrlCallback instructs the user that to remove the callback, a NULL should be used for the eventFunction parameter.
|  | Note To uninstall the callback, pass NULL for eventFunction. | 
Help documentation for NewCtrl makes no mention of how to remove the control. I would suggest adding this note to the Help documentation for NewCtrl.