Thanks for the reply. It resizes all right, and it also gets to viewmatcc when I try to viewmat a second time. ________________________________________ From: [email protected] [[email protected]] on behalf of Andrew Nikitin [[email protected]] Sent: Saturday, January 10, 2015 18:20 To: J programming Subject: [Jprogramming] jviewmat window reuse
> Ben Gorte - CITG B.G.H.Gorte at tudelft.nl > Hi, should this also work in Linux/j64-803/qt? Probably not. I needed it for j602, which uses older wd gui and may not be compatible on the interface level with qt. > The first viewmat responds like ever, but the second does not. The window > does not change and no new one is created. All it does (that I can see) is > return 0 . Does it update the display after you resize the form? I had to add glpaint to refresh the display. This is wd/isigraph method, the qt implementation may require different update. The code looks for existing locale with jviewmat. If not found, it just launches original viewmat, thus creating a new window. If not, then it tries updates isigraph control in the existing window using viewmatcc verb which is specifically designed with this functionality in mind. Now I do not have j80x, but I would not be surprised if the structure of jviewmat is mostly retained there. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
