SetTabText

Started by Zibster · 2007-11-06 13:03 UTC · 3 replies · SMF topic #81

Method SetTabText 

This method change the text displayed of a specified tab of the tab control.

AutoLISP Syntax:
(dcl_Tab_SetTabText  bik_Pret_Pret_TabControl19
nIndex [as Integer]
text [as string])



doesn't work :(

I have two tabs, on TabControl19 and Lisp code:
(dcl_Tab_SetTabText Example_Test_TabControl19 0 "Example1")
(dcl_Tab_SetTabText  Example_Test_TabControl19 1 "Example2")

when run, Autocad message error...
what is wrong?

(sorry my english).

Zbyszek





[attachment deleted by admin]
Just a guess I haven't tested. Maybe the tab central doesn't start with 0. What if you just try:
(dcl_Tab_SetTabText  Example_Test_TabControl19 1 "Example2")
If that doesn't work you should submit a bug:
{2}
I check it, but doesn't work too.
I submit a bug.