Hi James

 

I did something similar using the function objectDelete. See

 

http://wxhaskell.sourceforge.net/doc/Graphics.UI.WX.Types.html#v%3AobjectDelete

 

 

best regards

 

Miguel Vilaça 

 


De: wxhaskell-users-admin@lists.sourceforge.net [mailto:wxhaskell-users-admin@lists.sourceforge.net] Em nome de James Ollis
Enviada: terça-feira, 28 de Fevereiro de 2006 21:56
Para: wxhaskell-users@lists.sourceforge.net
Assunto: [wxhaskell-users] Destroying controls

 

Hi All,
    I have looked everywhere, but have not as yet found a way to manually destroy a control in wxHaskell. I've created my own custom control, but I want to be able to remove it from the screen as and when I require.

Any help would be much appreciated,
    James