Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re: Escape forms and a search f
Message
From
04/05/1997 03:06:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Escape forms and a search f
Miscellaneous
Thread ID:
00030767
Message ID:
00030767
Views:
94
/ 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).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Reply
Map
View

Click here to load this message in the networking platform