Sannyasin Brahmanathaswami wrote:
> But that it would be nice not be "stuck" with only finding out the
> properties of the variable as a variable.
>
> i.e. pField is a variable with 1 lineā¦
>
> but to be able to address the properties of the object referred to by
> a variable containing the long
> BR wrote:
> but to be able to address the properties of the object referred
> to by a variable containing the long ID of an object/
> How do we do that?
I think the "rule" is [assume objID is the long id of an object]
get|set of objID --- works for *properties* of the object
the number of li
> BR wrote:
> but to be able to address the properties of the object referred to by a
> variable containing the long ID of an object/
> How do we do that?
put the long id of fld 1 into fID
put the short name of fID into sID
put the number of lines of fld sID
On 6/28/17 9:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
on addSpaceBelowListLines pField,pSpace
put the number of lines of pField
# returns 1 --
# -- of course, that's a prop of the var, not the object it refes to
repeat with x = 1 to (the number of lines of pField)
of the
> variable to the object reference of that variable. Do you know how to do
> this?
>
> Craig Neman
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/How-to-get-the-number-of-lines-of-a-
> fld-referenced-by-long-ID-in-a-
Hi.
You need a "do" construction to, er, deconstruct the "contents" of the
variable to the object reference of that variable. Do you know how to do
this?
Craig Neman
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/How-to-get-the-numb
I'm trying to set up a global text only library that includes text handlers for
formatting text run time.
Typical use case is : clickable list field with titles that wrap. Say you set
type size to 16, text height to 20, dontWrap is false, first indent -40, left
margin 20. This looks fine, but t