TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

change Text Style / Documentation
Read 2936 times
* January 19, 2010, 01:09:38 AM
I want to change the Text Style with vb/vba

Property: StyleId 
With the macrorecorder:

   Start "Insert|Text"
On Error Resume Next
ActiveDrawing.Styles("Normal Text").Activate
if Err.Number <> 0 then
   MsgBox Err.Description,,"Playback error"
End If
On Error GoTo 0

And then want to change the “Text Styles”

(see pic)

that crashes TC16

EventType : BEX     P1 : Tcw16.exe     P2 :     P3 : 4ae81f89     
P4 : MacroPlt.dll     P5 :     P6 : 4ae81cba     P7 : 0001e5d9     
P8 : c0000409     P9 : 00000000   

Same crash when I want to change the StyleId with vb/vba

Question: how to change the styleId via SDK?

Question2: @ Kevan Chapman: in may 2009 you mention, that you will update the SDK-documentation. I know it will be a lot of work. Do you see already the end of the tunnel?

Best regards

[attachment deleted by admin]