Page 2 of 2

Posted: Thu Jul 29, 2010 6:25 pm
by Sergey Tkachenko
Sorry, I still need to clear some details.
1) by "item 1", do you mean it is " text before item 2" ?
2) "text after item 2 and before item 3" is never modified or deleted?

I think an example in English, containing (1) before state (2) state after clicking item 2 (3) state after clicking item 3, would be very useful.

Posted: Thu Jul 29, 2010 9:56 pm
by gbg
http://rapidshare.com/files/409878079/chat.png

item 1 is 2 line
and i add line 1 to item 1 :
ReciveText.AddNLWTag(uname+'......',0,0,0); <----- D
and i add line 2 to item 1 :
ReciveText.AddNLWTag('.....',0,0,0); <---- text before item 2 ( C )
ReciveText.AddNLWTag('......',3,-1,100); <---- this is item 2
ReciveText.AddNLWTag('.......',0,-1,0); <---- text after item 2 and before item 3 ( B )
ReciveText.AddNLWTag('......',3,-1,101); <---- item 3
ReciveText.AddNLWTag('......',0,-1,0); <---- text after item 3 ( A )
ReciveText.Format;
(*in Right to left , C is before item2 but in left to right C is after item2 8) )
* item1 is all ( A+B+C+D+item2+item 3 )

now i want when user click on item 2 , Remove A,B,C,D,item2,item 3
when click on item 3 ,application Remove A,B,item2,item 3 and replase D to new text and C to new text

*sorry for bad english

Posted: Fri Jul 30, 2010 7:21 am
by Sergey Tkachenko

Posted: Fri Jul 30, 2010 10:36 am
by gbg
tanks :D
very useful for me
best regard