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

[REBOL] Re: offset

From: allenk:powerup:au at: 23-May-2001 8:11

Ammon, Offset is not a word defined in the VID dialect. Not all words in the face object are found in the VID dialect. If your intention is to place vh1 label at 100x100 then use at. view layout [ at 100x100 vh1 "Offset Test" ] or using 'with (should give access to the underlying face object) view layout [ vh1 "Offset Test" with [offset: 100x100] ;bug!! this should work, but doesn't. ] If your intention is to place the window at 100x100 view/offset layout [ vh1 "Offset Test" ] 100x100 or lay: layout [ vh1 "Offset Test" ] lay/offset: 100x100 view lay or to center it view center-face layout [ vh1 "Offset Test" ] Cheers, Allen K