i have two screen, 
first screen contains 4 button and 1 label
second screen contains 4 button and 1 label
my app will start in first screen,,when i move to second screen first screen buttons and label should delete permenantly, so i used code
	
	void Widget:: deactivefirstscreen()
{
delete button1;
delete button2;
"
"
delete label1;
}
        void Widget:: deactivefirstscreen()
{
delete button1;
delete button2;
"
"
delete label1;
}
To copy to clipboard, switch view to plain text mode 
  i getting erro when command reached this method()
Error:
	
	The program has unexpectedly finished.
        The program has unexpectedly finished.
To copy to clipboard, switch view to plain text mode 
  
please give me clarification for this
Thanks in advance
				
			
Bookmarks