Project: | Word Documents Created from OE |
Component: | Code |
Category: | support request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Using the the Word automation object, generally with great results. The problem is that I can't set the ParagraphFormat properties of WidowControl, KeepWithNext, or KeepTogether.
The OE COM Object Viewer shows these as integer values.
(from the viewer ...)
Property Set: :KeepWithNext [ = Integer-Var ].
This is apparently untrue, as usage of an integer will generate a type mismatch error at runtime. Boolean values do not generate the error, but fail to set the properties, also. I have also tried characters "0" and "1", but they generate errors. Any ideas???
(my code ...)
Style:ParagraphFormat:WidowControl = TRUE.