Re: How to get length of contents

Ron Benditt wrote:
> 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.

To all:

Is an expanding edit field like Ron described something everyone
wants in general? I would probably make it subclass of FTEditField
and attempt to implement it there.

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: