how remove paragraph

General TRichView support forum. Please post your questions here
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
gbg
Posts: 37
Joined: Sun Apr 11, 2010 4:55 pm

Post 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
gbg
Posts: 37
Joined: Sun Apr 11, 2010 4:55 pm

Post by gbg »

tanks :D
very useful for me
best regard
Post Reply