/ First, is there a straightforward way to make the active form release
/ when
In form's keypress event (frankly, in the base class), I've put
..
case nkeycode=27
thisform.release
..
Or I'm calling thisform.navbuttons.cmdExit.click, which came up as being
more regular way (cleanup code is there).
/ Second, is there a function that will search a memo field and return
/ true if any of a list of strings is contained in the field?
No, but it may be something like this
Lpara memo_field, aStrings
Local i
External array aStrings
For i=1 to alen(aStrings)
if atc(aStrings[i], memo_field)#0
retu .t.
endif
endf
retu .f.
Optional parameter may be added for using AT instead of ATC (i.e. case
sensitive or not).