Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search
Message
De
26/10/2001 12:03:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Search
Divers
Thread ID:
00573577
Message ID:
00573712
Vues:
41
Yes for this to work. It's default and generally no need to set on (I try to use == or ANSI instead and still when I need it I immediately turn off after completion).
Cetin

>Would SET EXACT OFF be required?
>>>>Problem: I have a txt field and a grid; I type into txt field and seek on each key stroke. I need to highlight in the grid each found record as the typing continues in the txt field. How do I highlight the grid after each keystroke and return to the txt field for next keystroke?
>>>>
>>>>I handle the keystroke in the txt field using the method "interactiveChange".
>>>>
>>>>Ron
>>>
>>>A simple implementation might be like this :
>>>-Add a custom property to form named nCurrec with value 0
>>>-Form.init
>>>this.myGrid.SetAll('DynamicBackColor','iif(reno(this.recordsource)=thisform.nCurrec,0xFFFF00,0xFFFFFF)','Column')
>>>
>>>-Text.Interactivechange
>>>=seek(TRIM(this.value),thisform.mygrid.recordsource,'searchtag')
>>>thisform.nCurrec = recno(thisform.mygrid.recordsource)
>>>thisform.mygrid.refresh
>>>
>>>Cetin
>>
>>For an enhanced implementation check FoxyClasses (signature link).
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform