Here's a small snippet. Not extremely useful, but easy to roll with it.

code:
$Find = $Edit.MenuItems.Add("Find", "OnFindClick")

And
code:
function OnFindClick()
dim $toFind, $loc
$TextBox.SelStart = 0
$TextBox.SelLength = 0
$toFind = $Form.InputBox("Find What", "Find", "")
$loc = instr($TextBox.Text, $toFind)
if $toFind <> "" and $loc
$TextBox.SelStart = $loc - 1
$textBox.SelLength = len($toFind)
endif
endfunction

_________________________
Eric