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

[REBOL] Re: Inform

From: allenk:powerup:au at: 11-Nov-2001 22:04

----- Original Message ----- From: "Paul Tretter" <[ptretter--charter--net]> To: <[rebol-list--rebol--com]> Sent: Sunday, November 11, 2001 3:43 PM Subject: [REBOL] Re: Inform
> I think I found a way around this. I looked at the source for inform and > just decided to do this instead on my 'face: > > view/offset face (system/view/screen-face/size - face/size / 2) > > Bingo! I got the inform feature I wanted. > > Paul Tretter
Paul, Did you just need to center a face? You can center-face for that. USAGE: CENTER-FACE obj /with face DESCRIPTION: Center a face on screen or relative to another face. CENTER-FACE is a function value. ARGUMENTS: obj -- (Type: object) REFINEMENTS: /with -- Center relative to a face. face -- (Type: object) Cheers, Allen K