thank you Bill, in pousse, there is a command wd 'rm' that seems to be applicable to controls (id). It is only enabled for IFJCDROID. The other implementations close the form, and then call a creator function.
btw, in j803 on windows 8, there are glpen errors when trying to play the game. (clicking row/col buttons) ----- Original Message ----- From: bill lam <[email protected]> To: Programming forum <[email protected]> Cc: Sent: Tuesday, September 16, 2014 7:52 PM Subject: Re: [Jprogramming] wd commands to destroy a control I agree this is useful. IIRC games/pousse addon used an undocumented jqt wd command which "clear" a top level window (a form), some (or all?) children the parent window contained were destroyed when choosing a different board size. On Sep 17, 2014 12:28 AM, "'Pascal Jasmin' via Programming" < [email protected]> wrote: > in Jqt, is there a way to either destroy a control by id, or clear the > whole form and add all controls again? (I guess the latter can be done by > destroying the form and recreating it) maybe one of the grids can host and > delete controls? > > Some example uses would be: Options that turn off some features. Or say > radio buttons that get created/changed based on other selections/data > highlighted. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
