Page 1 of 1

How get the Style Number from Item?

Posted: Tue Jan 24, 2006 11:42 am
by RichEnjoyer
I think it it possible but i don't find. Sorry... :(


I want Show the StyleNumber from Item[x].
How is the sulution?

Thanks, Frank

Posted: Tue Jan 24, 2006 11:47 am
by Sergey Tkachenko
It's returned by GetItemStyle(x)

Where do you want to show it?

Posted: Tue Jan 24, 2006 12:07 pm
by RichEnjoyer
Ok Thank You, it works great, :D

I try the componet and when ist works i register it.

I have search this function for fix my "hello world problem", i write this problem in the topic...

http://www.trichview.com/forums/viewtopic.php?t=561

the idea was when i add new text in old style then i use "SetItemText"
when NewStylNo<>StyleNo from last ITEM then use the AddNL function.

So i have my words "hello" and "world"... i hope it is ok... ;)

beste wishes, Frank

Posted: Tue Jan 24, 2006 12:54 pm
by Sergey Tkachenko
I answered in that topic, but after reading here, I am not sure that I understand your question