How to get length of contents
- From: Ron Benditt <rbenditt@xxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Fri, 13 Feb 2009 05:26:58 -0800
I'm trying to make a FTC edit field that resizes its height to match
the height of its contents. I'm having a bit of trouble finding a way
to get the height to set the FTC to. The only method call that I've
found that gets me close is ftc.getDoc.getPageHeightLength. This
works some of the time, but not always. Perhaps because I'm using the
FTC as and edit field I shouldn't be messing with the page
properties? Is there something else that I can query to get what I
need? Or even a 'line count' would work...
Thanks,
Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com
FTC Website:
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
Other related posts: