Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re: Escape forms and a search f
Message
De
04/05/1997 03:06:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Escape forms and a search f
Divers
Thread ID:
00030767
Message ID:
00030767
Vues:
96
/ 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.
Répondre
Fil
Voir

Click here to load this message in the networking platform