smoothe19 -1 Junior Poster in Training

How do I create functions that do the following?

Find: will do a case sensitive search of the text starting at the beginning. If a match is found, the text will be highlighted on the screen. If no match is found a message stating that no matches were found should be displayed.

Find Next: find the next occurrence of the last search criteria entered searching forward from the current cursor position. If a match is found the text should be selected on the screen.

Find Previous: search backwards from the current cursor position searching for a match for the last search criteria entered. If a match is found the text should be selected on the screen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.