Sniperzorro
New Member
Hi everybody,
I try to create TabStops via Progress in my created Worddoc.
I Have looked in de COM Object Viewer, and tried and tried, but I really can't seem to get the translated syntax in Progress right.
The macro I made in Word says:
Selection.ParagraphFormat.TabStops.Add Position:=CentimetersToPoints(2.5),
Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
And the translation that is given by TabSTops in de COM viewer, is:
<com-handle>: Add (
Decimal-Position AS FLOAT,
<anytype>-Alignment BY-VARIANT-POINTER,
<anytype>-Leader BY-VARIANT-POINTER ).
Does any one has a simple but brilliant example how to do this ???
If I have a good working example, it shall be easier for me to understand more of the (complicated) COM Object Viewer.
Thanks already !!
Greetz,
Maurice
I try to create TabStops via Progress in my created Worddoc.
I Have looked in de COM Object Viewer, and tried and tried, but I really can't seem to get the translated syntax in Progress right.
The macro I made in Word says:
Selection.ParagraphFormat.TabStops.Add Position:=CentimetersToPoints(2.5),
Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
And the translation that is given by TabSTops in de COM viewer, is:
<com-handle>: Add (
Decimal-Position AS FLOAT,
<anytype>-Alignment BY-VARIANT-POINTER,
<anytype>-Leader BY-VARIANT-POINTER ).
Does any one has a simple but brilliant example how to do this ???
If I have a good working example, it shall be easier for me to understand more of the (complicated) COM Object Viewer.
Thanks already !!
Greetz,
Maurice