Carriage Return in fm20.dll Textbox Control -help

make

Member
Hello Pegers,

i have a problem with the fm20.dll Textbox from Microsoft.
I implemented it in Progess, and my program starts, a simple Mail-Programm !.
Some fix parts of the texts, e.g. "Dear ladies an Gentlemen" should have a line breack at the end.
I tried ChControlframe:Textbox:text = "Dear Ladies....." + chr(13).
But when i execute my programm i see the Text but not a line-break, instead i see the Ascii char for chr(13).
The WordWrap Property is set to true.
The other Properties are working fine, eg. Font, Fontsize ....


Can anyone help me ?

Greets Make
 
Make,

You should take a look at the microsoft knowledge base article Usage and Redistribution of FM20.DLL. In particular the note at then end of this article:
NOTE: The use of these Microsoft Forms components in your own compiled applications, such as those written with Microsoft Visual C++ and Microsoft Visual Basic, is not recommended or supported. These controls were designed and tested to work exclusively within Microsoft Office and its Visual Basic for Applications environment.
I would be very careful in building an application relying on this dll. You will also be unable to distribute this dll with your application, in effect anyone wishing to run you application will have to install Microsoft Office first!
 
Top