Hi all
Sorry another newbie question...
I am trying to print styled text in an editField using StyledTextPrinter
on Windows98. I tried the tutorial get the same result.
I have tried RB 4.5.2, 4.5.3 and 5.0 but all of them fail to print the
text styled, only plain. This also changes the text in the editField to
plain as well.
There has been many reported bugs and posts regarding
styledTextPrinters, but still I can't find a solution that works.
I have tried going through the seltext, and writing each character via
drawstring. This gives me the styles, but not the correct font or font
size. And anyway this method is way too slow!
Should I try putting the textStyleData in a memoryBlock and go through
each style run and then drawstring that? or am I going about it the
wrong way? Will it work?
BTW How can it be that the tutorial hasn't worked for 3 versions of RB?
thanks heaps!
mich
Michelle
mich at g7 dot org
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|