Win32LIb v.50c: RichText control and 'cut'

new topic     » topic index » view thread      » older message » newer message

Well what I stated before about cut and RichText is only true if there is
only one line in the RichText control. With multiple lines, after 'cut' the
getStream pulls everything.

getRichText() however, WILL get all the data after the 'cut' portion even if
only 1 line of data. But how do I tell getRichText to retrieve the entire
contents of the RichText? I tested by this getRichText(RT,{1,10}) where my
'cut' portion was before column 10. Using i=length(RT) gives me the dreaded
'exceeds 300 statements......'. If I pick a number larger than the actual
text it also fails. The user doesn't select text so I can't go that route.
Even if the user did, I can't get the getRichText option to work with an
atom which I understand says to get the highlighted text. I'm doing
something wrong, but don't know what. Can anyone supply me a sample of the
getRichText with an atom? I tried getRichText(RT,1), getRichText(RT,{1}) and
even getRichText(RT,num) and getRichText(RT{num}) but all fail.


Thanks,

Judith

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu