Well With text members you can use:
  Lineheight = 0
  lineOneV = (CharPosToLoc(member "555" , 1))[2] --get's the "LocV" of first
character
  repeat with a = 2 to length(member("555").text)
    CharLocV = (CharPosToLoc(member "555" , a))[2]
    if CharLocV <> lineOneV then
      -- line has changed
      Lineheight = CharLocV - LineOneV
      exit repeat
    end if
  end repeat
  if Lineheght = 0 then
    -- you have only one line of text

To GET the lineheight of the text, IF the fontsize / linespacing is the same
throughout the Member.

Pekka



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mark R. Jonkman
> Sent: 12. kes�kuuta 2001 6:20
> To: [EMAIL PROTECTED]
> Subject: RE: <lingo-l> Property not found
>
>
> Hi
>
> Is member("555") a TEXT member or a FIELD member,
> Field's have a lineHeight property that you can read and set, however text
> members have a lineheight that you cannot be read or set via lingo.
>
> Sincerely
>
> Mark
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to