Welcome, Guest. Please login or register.
May 16, 2012, 03:21:45 pm
Home Help Search Login Register
News: Remember to do a search before you ask a question!!!

+  TurboCAD Forums
|-+  SDK Corner
| |-+  SDK Wishlist
| | |-+  change Text Style / Documentation
« previous next »
Pages: [1] Go Down Print
Author Topic: change Text Style / Documentation  (Read 1104 times)
ibruethsch
Jr. Member
**
Posts: 85

Bernd


« on: 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 : 16.2.54.0     P3 : 4ae81f89     
P4 : MacroPlt.dll     P5 : 16.2.54.0     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
Bernd

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.053 seconds with 17 queries.