Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Hiding faces in a Panel

From: robert:muench:robertmuench at: 13-Feb-2002 9:56

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of > Gregg Irwin > Sent: Tuesday, February 12, 2002 6:57 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Hiding faces in a Panel > Cool! I had this same problem a while ago. Now I'll have to go back and try > your solution.
Hi, yes it's really a nice trick and it works. But I think the face will still be there (in memory at least). Maybe it's possible to assign a new layout to the named face.
> I tried a number of things, but I don't think I tried your > trick. The best I could come up with was to move the panel off-screen > temporarily, then restore its position.
Well, this works too but the other solution is smarter ;-)). I don't know how VID or /View (which one?) determines of a face needs to be drawn or not. Using hide makes it possible to use a very simple test, testing against off-screen coordinates may take longer... Robert