Bill is correct. A control set invisible by: wd'set s0 show 0' where s0 is the control name. The control disappears, but other controls move into the space
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of bill lam Sent: Tuesday, September 16, 2014 19:54 To: Programming forum Subject: Re: [Jprogramming] wd commands to destroy a control I think that if a control is set invisible then it will not take part in update layout geometry thus occupies no screen real estate. (untested). On Sep 17, 2014 8:46 AM, "chris burke" <[email protected]> wrote: > Two possibilities: > > 1. get the position of the old form, put up new form and move it to > that position, then close the old form. This is seen as a simple > change to the original form. > > 2. use tabs and switch to another tab panel. The tab itself can be hidden. > > On Tue, Sep 16, 2014 at 9: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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
