Yongzhao Zhou wrote: > > Hi, All, > I have TButtons and close them as > gApplication->Terminate(0); > but the main frame is closed too. And I tried something using > TList* fPrimitives; > fPrimitives->Delete(); > But it was not successful. > Would you tell me how to close the TButtons and keep the frame to open? > thanks, > ------ May be I do not understand totally your question. You delete a TButton object via the delete operator in your code. I think it is a bad idea to delete a button via the mouse. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET