[Migrated content. Thread originally posted on 16 May 2007]
Hello,has anyone experience with the Richt Textbox Control?
I create an RTF-File and want to display and print it out in an Cobol-Program.
To Create the Display - i used atm:
screen section.
01 main-screen.
03 rtf-1, @RichTextBox,
line 4, col 2, lines 40, size 80, id is 1.
...
procedure division.
....
modify rtf-1 LoadFile ("c:\\muffrohr\\test.rtf", rtfRtf).
Ok, the control is displayed and shows my RTF-File.
Problem: I can't navigate/activate the Control to do anything in it - or it dosn't show any Scrollbars.
If i look in the docs about the Control - The Scrollbars are default set to @rtfBoth
and Enabled is set to true as default.
Do i anything wrong during creating the Control?
Next Problem - Printing :D
I found in the .def File i created with the AXDEDFGEN - Utility @SelPrint
How do i use it?
the doc-file says:
Objekt.SelPrint(LHDC As Long [VStartDoc])
Is it then
modify rtf-1 SelPrint(?????, ?????)
Can anyone help?
David Neidinger



