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

offset

 [1/7] from: ammoncooke::yahoo::com at: 22-May-2001 13:51


Hi all, I have a small problem, the offset attribute doesn't seem to work, in fact it returns an error: offset has no value Here is the code: REBOL[] author "ammon cooke title "just testing" view layout[ offset 150x150 vh1 "Just Testing the Offset value" ] Any comments are appreciated. Ammon

 [2/7] from: ammoncooke:ya:hoo at: 22-May-2001 14:07


sorry about the typo, here's the real code: REBOL[] title: "Offset Test" Author: "Ammon Cooke" view layout[ offset 100x100 vh1 "Offset Test" ] The result was interesting, in one script it throws: offset has no value in another it says: Unknown word or style: offset Misplaced item: 100x100 What's up??? Thanks!! Ammon

 [3/7] from: gjones05:mail:orion at: 22-May-2001 15:35


From: "Ammon Cooke"
> I have a small problem, the offset attribute doesn't > seem to work, in fact it returns an error:
<<quoted lines omitted: 7>>
> vh1 "Just Testing the Offset value" > ]
Hi, Ammon, I know that offset is used as a refinement for both 'view and 'layout, but I don't believe that it is a VID dialect word. What visual effect are you trying to achieve? --Scott Jones

 [4/7] 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

 [5/7] from: ammoncooke:y:ahoo at: 22-May-2001 17:39


I have my taskbar in the left hand side of the window, I have seen people with their's on the top.... That means that I, & they have to fuss with draging the window around to view all of it. From what I gathered of the View Doc this command should acomplish that. Thanks!! Ammon

 [6/7] from: ammoncooke:y:ahoo at: 22-May-2001 17:42


Thanks!! That did it! Ammon

 [7/7] from: gjones05:mail:orion at: 22-May-2001 18:50


From: "Ammon Cooke"
> I have my taskbar in the left hand side of the window, I have seen
people
> with their's on the top.... That means that I, & they have to fuss
with
> draging the window around to view all of it. From what I gathered of
the
> View Doc this command should acomplish that.
Well, I see that Allen Kamp's suggestions were comprehensive, and one of his suggestions appears to addess your problem. Best Wishes, --Scott Jones

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted