Anybody have some good canned RTF routines (or class)? 
Author Message
 Anybody have some good canned RTF routines (or class)?

it sounds like the following would be incredibly useful--so useful, in
fact, that i am guessing that somebody has done it already.

has somebody built a class wherein you can use the RTF control as a
"superenhanced label?"  it may require the use of temp files or whatever,
but it doesnt sound that complicated.   of course, it does not have to
support the full functionality of rtf--just something for slightly more
sophisticated character fonts and so forth.  as i see it, somebody very
familiar with rtf codes could write a pretty good class about this in
about two hours.  anybody know of a good one, pref for download?

(yes, i know the HTML control is an alternate means of doing what i want
to be doing, but i dont want to add that control to my projects).

ie, so code can be written such as

(imagine we have an rtf box named x)

rtfclear(x)
rtffont(x, arial, green, 20)
rtfaddtext(x, "THIS IS BIG GREEN TEXT" & vbcrlf)
rtffont(x, times, blue, 12)
rtfaddtext(x, "hi there" & vbcrlf)
rtfpublish(x)  ' where this would be a call to save a temp file and use
               ' load it into the rtf box, say.

hmm.. i seem to have described what i want as a class, but have
illustrated above as just regular functions.  so i guess either would work
:) (it seems perhaps to do it as a class the way one would like, vb would
have to support inheritance.

regards,

adrian



Thu, 30 Aug 2001 03:00:00 GMT  
 Anybody have some good canned RTF routines (or class)?
Hey Adrian,
I bet you would find the following to be of interest!
http://vbaccelerator.com/
Look for Active-X Documenter...under Resources
Neila
Quote:

>it sounds like the following would be incredibly useful--so useful, in
>fact, that i am guessing that somebody has done it already.

>has somebody built a class wherein you can use the RTF control as a
>"superenhanced label?"  it may require the use of temp files or whatever,
>but it doesnt sound that complicated.   of course, it does not have to
>support the full functionality of rtf--just something for slightly more
>sophisticated character fonts and so forth.  as i see it, somebody very
>familiar with rtf codes could write a pretty good class about this in
>about two hours.  anybody know of a good one, pref for download?

>(yes, i know the HTML control is an alternate means of doing what i want
>to be doing, but i dont want to add that control to my projects).

>ie, so code can be written such as

>(imagine we have an rtf box named x)

>rtfclear(x)
>rtffont(x, arial, green, 20)
>rtfaddtext(x, "THIS IS BIG GREEN TEXT" & vbcrlf)
>rtffont(x, times, blue, 12)
>rtfaddtext(x, "hi there" & vbcrlf)
>rtfpublish(x)  ' where this would be a call to save a temp file and use
>        ' load it into the rtf box, say.

>hmm.. i seem to have described what i want as a class, but have
>illustrated above as just regular functions.  so i guess either would work
>:) (it seems perhaps to do it as a class the way one would like, vb would
>have to support inheritance.

>regards,

>adrian



Fri, 31 Aug 2001 03:00:00 GMT  
 Anybody have some good canned RTF routines (or class)?
: Hey Adrian,
: I bet you would find the following to be of interest!
: http://vbaccelerator.com/

thanksbut..

i think i'll just write a class.

now, the question is.. will anybody buy it?  <grin>

- adrian



Sat, 01 Sep 2001 03:00:00 GMT  
 Anybody have some good canned RTF routines (or class)?
I don't know if I'd buy it, but I'd look at it :).  I went to vbaccelerator
and dl'ed that Documentor.  I couldn't see how that would help me write a
cheaper version of the RTF class.  All it showed were the events, and
properties, no code.


Quote:

>: Hey Adrian,
>: I bet you would find the following to be of interest!
>: http://vbaccelerator.com/

>thanksbut..

>i think i'll just write a class.

>now, the question is.. will anybody buy it?  <grin>

>- adrian



Sun, 02 Sep 2001 03:00:00 GMT  
 Anybody have some good canned RTF routines (or class)?
You must have DLd the wrong thing because the Source code for the Documentor
and the UserControl RTF implementation used is available FREE at the same
place.
This is some really interesting looking code.  The guy is building just
about the entire
 thing with APIs .
Neila
Quote:

>I don't know if I'd buy it, but I'd look at it :).  I went to vbaccelerator
>and dl'ed that Documentor.  I couldn't see how that would help me write a
>cheaper version of the RTF class.  All it showed were the events, and
>properties, no code.




>>: Hey Adrian,
>>: I bet you would find the following to be of interest!
>>: http://vbaccelerator.com/

>>thanksbut..

>>i think i'll just write a class.

>>now, the question is.. will anybody buy it?  <grin>

>>- adrian



Sun, 02 Sep 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. line graph in vb (canned routine)

2. Find out if somebody make an instance of a Class without having access to the Class

3. Anybody having problems downloading Visual Modeler 1.0?

4. Anybody else having problems with Windowless Combo Boxes

5. Anybody else having as much trouble?

6. Having trouble calling routines from another form

7. compile error on method not having same signature as delagate class

8. Having a class write to a database

9. Class problems: WithEvents having no effect????

10. Anybody needs a good WebMaster ?

11. Does anybody know of a good book on using Visual Basic with Access

12. Anybody no a better referance for MSCHART

 

 
Powered by phpBB® Forum Software