Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do..... as like as google search engineer
Message
De
02/11/2007 08:01:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/11/2007 06:19:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01265988
Message ID:
01266016
Vues:
11
>Hi,
>
>I have a database to record many information, all information will store in a memo field.
>
>Now i need to write a search-system to help me to find information from those record. I will use this command
>( "ibm" $ MYMEMO .or. "IBM" $ UPPER(MYMEMO )
>to found out which record is match i need and display them in EDIT.box
>
>Question:-
>1. How can move the cursor at the words "IBM" inside Edit.box
>2. How can i high-light ( change color ) on "IBM" words inside Edit.box
>3. or more suggest to me. ( i want to do it as like as google search engineer )

You can not highlight several selections with a standard EditBox.

You can select a single text (as when you select text with the cursor), using the properties .SelStart and .SelLength.

If you want to apply different kinds of formats, you might use an RTF control. IIRC, there is a sample included in the VFP samples.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform