Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental search
Message
De
17/08/1998 16:31:21
 
 
À
17/08/1998 16:27:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127535
Message ID:
00127536
Vues:
22
>I'm still having trouble with my incremental search. I can't get the grid to highlight the row that has the nearest matching record. It will highlight the record when it gets the focus but not while the user types the search string. I've tried using dynamicbackcolor but it will not accept a variable:
>
>(interactive change of textbox)
>select cards
>set near on
>seek(allt(this.value))
>lcval = cards.card_id
>thisform.grid1.column1.dynamicbackcolor =;
> "iif(cards.card_id = lcval,rgb(0,0,255),rgb(255,255,255))"
>thisform.grid1.refresh()
>
>I get an error message with this??
>
>Any more ideas?
>Dave

thisform.grid1.column1.dynamicbackcolor =;
"iif(cards.card_id ="+alltrim(str(lcval))+",rgb(0,0,255),rgb(255,255,255))"
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform