From: Alessandro A. <am...@am...> - 2001-09-02 18:03:48
|
I've started to use Win32-GUI. In the first stage I've created a simple window with 2 button: = "Continue" and "Exit": Use Win32::GUI; $main=3DWin32::GUI::Window->new(-title=3D>'TEST',-name=3D>'Main',-width = =3D> 400, -height =3D> 200); $main->AddButton(-name=3D>'BOK',-text=3D>'Continue',-pos=3D>[50,100]); $main->AddButton(-name=3D>'BEXIT',-text=3D>'Exit',-pos=3D>[150,100]); $main->Show(); Win32::GUI::Dialog(); .....other code..... If I click on "Exit", the program end. If I click on "Continue" obviously the program continue. In this case, I want work in the same window. How can I destroy the 2 buttons ?=20 Most general: How can destroy any controls so I can reuse the same = window to put in it other controls ?? |