Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

big problem in a txt editor

Status
Not open for further replies.

Setzer

Programmer
Jan 5, 2002
9
RO


I created a text editor wiht a find menu. When it finds a specific word, it highlights it. But it doesnt scroll down to it. Any clue?
 
You probably have to find the number of lines from the top to where the word is then move the cursor to it. There was a thread somewhere in the Inprise(Borland): C++ Builder forum about doing that in an edit box.
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 

Not really. The cursor is in positioned after the selected word(othewise the find next function doesnt work). But the text doesnt scroll there. I think it has something to do woth the scrollbar...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top