Ideally what I would like is a RichTetBox that cannot be edited by the user
ControlEvents is really obsolete now that the Door library supports events. Try this, it also works on a TextBox.
Obj1.New1(False)
Obj1.Value = RTD.ControlRef
Obj1.SetProperty("ReadOnly", True)
I'm still struggling with setting the scroll bar position though
Try this, the RTD must have the focus so move the focus to it then move it away after if necessary.
Obj1.New1(False)
Obj1.Value = RTD.ControlRef
Obj1.RunMethod("Focus")
Obj1.SetProperty("SelectionStart", 0)
Obj1.SetProperty("SelectionLength", 0) ' may not need this
Obj1.RunMethod("ScrollToCaret", 0) ' probably will need this
Is it possible to set the print preview window to maximised?
It's already there, RTD.PrintPreviewState = 2