6 Is A Mystery Number

Bob Sneidar bobs at twft.com
Sat Feb 18 01:36:55 EST 2012


In most cultures that subscribe to some form of numerology, 6 is the number of man. Man made Livecode. Man uses Livecode. Man floats. What else floats? Sticks float. What else do we do with sticks? We burn them. What else do we burn? WITCHES!!! BURN THE WITCH!!!!!


Bob


On Feb 17, 2012, at 9:05 PM, Scott Rossi wrote:

> The answer to life may be 42, but my question is: "6?"
> 
> The setup: I create a new scrolling field, fill it with a bunch of text, and
> drag the scrollbar all the way down, setting the field to its max vertical
> scroll.  When I compare the formattedHeight of the field minus its physical
> height with the current vscroll of the field, I get a difference of 6. The
> vscroll of the field is consistently 6 pixels less. Where does this value
> come from?
> 
> No changes to margins, border, textHeight, or other visual properties seems
> to have any bearing on this difference.  Oddities like these make it
> difficult to reliably interact with LC controls.
> 
> Even more odd: if I disable the vertical scrollbar, and set the vscroll of
> the field to its max via script, then the difference becomes 5.  WTF?
> 
> Anyone know the source of these mysterious numbers?  I guess I'm going to
> create a LiveCode property called "fudgeFactor" to account to account for
> these inconsistencies:
> 
> ask "What is the answer to life?"
> if it is not 42 then set the fudgeFactor of field "myScrollingField" to 6
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list