trichview.com

trichview.support




urgent..Checkpoints.. All checkpoints inside the table have same CheckpointNo.. ie., 0.


Return to index


Author

Message

del

Posted: 07/10/2002 9:15:13


Thanks for your example reg. the Recursive iteration code for finding

Checkpoints inside the tables. But the problem now I am facing is all the

checkpoints are starting again from 0 inside the tables. I could correctly

make HTML internal bookmark tags within the method OnURLneeded for pointing

to correnct checkpoint  nos.


But since all the checkpoints inside the tables (outside the table.. in the

text edit area it is working properly) are starting from zero, the

hyperlinks are not working properly.


What I want to do is


========= text area begins =================


bookmark1 <Here I want the checkpoint as (<DIV><A

name=RichViewCheckpoint0></A>book1</DIV> ) this is working.


bookmark2 <Here I want the checkpoint as (<DIV><A

name=RichViewCheckpoint1></A>book2</DIV> ) this is Also working.



======== table begins


ROW 1

bookmark3 <Here I want the checkpoint as (<DIV><A

name=RichViewCheckpoint2></A>book3</DIV> ) this is Also working.


But here is the problem, the checkpoint is coming as <A

name=RichViewCheckpoint0></A> again...


ROW2


bookmark3 <Here I want the checkpoint as (<DIV><A

name=RichViewCheckpoint2></A>book3</DIV> ) this is Also working.


But here ALSO is the problem, the checkpoint is coming as <A

name=RichViewCheckpoint0></A> again...


========= table ends ==========


for inserting/editing checkpoints I am using the following code..


"

          vCPName:=frmBookmark.edtBookmarkName.Text;

          //The function below will add new or edit checkpoint.

          //ShowMessage('Saving Tag : '+ PChar(MakeTag(vCPName))+ ' for the

associated Checkpoint at this place');


RichEditEmailText.SetCurrentCheckpointInfo(MakeTag(vCPName),vCPName,bRaiseEv

ent);

          RichEditEmailText.Format;

      end;

"

In the above MakeTag will convert the string to a new integer value.


Since, I have no control over deciding CheckpointNo, I was wondering how it

can be done..


Could you please give any suggestion ? this is urgent..


thanks in advance..







Powered by ABC Amber Outlook Express Converter