trichview.com

trichview.support




RVAddictSpell31 WordCount ?


Return to index


Author

Message

Alan McDonald

Posted: 02/17/2005 23:26:22


I'm using the following code to determine the word count of my controls but

ths addict wordcount function seems to return 0 all the time.. does anyone

know if this is broken or maybe there is a native RV method for it ?

thanks

Alan


<code>

var

    Count   :LongInt;

begin

    Count := RVAddictSpell31.GetWordCountWinControl(DBRichViewEdit1,

ad3SpellBase.ctAll );

    Application.MessageBox( PChar(  'Current Word Count for this outcome: '

+ IntToStr(Count) ),

                            'Word Count', MB_OK );

end;

</code>





Powered by ABC Amber Outlook Express Converter