Re: How to get length of contents
- From: Ron Benditt <rbenditt@xxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Fri, 13 Feb 2009 07:45:30 -0800
I should point out that my original method of:
NewFTCHeight=ftc.getDoc.getPageHeightLength
actually works fairly well when called from the ftc.textchanged
event. My only real problem is that I have another area of my code
where I open an rtf file and set it to the FTC. After I do this, my
attempt to set the height based on the .getPageHeightLength does not
work. Its as if something needs to be refreshed after the rtf
setting. If I click into the FTC after setting the rtf and then type,
all of a sudden it resizes properly due to the code in
the .textchanged event.
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: