How get the Style Number from Item?

General TRichView support forum. Please post your questions here
Post Reply
RichEnjoyer
Posts: 14
Joined: Fri Jan 20, 2006 11:05 am
Location: Germany

How get the Style Number from Item?

Post 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
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It's returned by GetItemStyle(x)

Where do you want to show it?
RichEnjoyer
Posts: 14
Joined: Fri Jan 20, 2006 11:05 am
Location: Germany

Post 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
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I answered in that topic, but after reading here, I am not sure that I understand your question
Post Reply