GenText text length

Edward Di Geronimo Jr. (edwdig@bergen.org)
Thu, 31 Oct 1996 10:41:12 -0500 (EST)

How do I find out the length of the text in a GenText object? I know how
to find out the max length, but I have to know the exact length. Would I
check the length of the chunk holding the text? I don't know if that will
work though because there might be formatting data stored in the chunk
also. This is how my object is defined:

@object GenTextClass MyText = {
GI_visMoniker = "Text";
GTXI_text = "Default text";
GTXI_attrs = @default | GTA_SINGLE_LINE_TEXT |
GTA_ALLOW_TEXT_OFF_END;
GTXI_maxLength = 255;
HINT_TEXT_FRAME;
}

-------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
-------------------------------------------------------------------