Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing specific characters in EditBox to another
Message
De
04/12/2000 12:00:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00448862
Message ID:
00448875
Vues:
11
>>>Hi everyone,
>>>
>>>I have a form DataDict with IndexExpr field as an EditBox (memo field). I want
>>>to convert the entry in this field (EditBox) to:
>>>1) Upper case
>>>2) Replace <> or != with #
>>>3) Replace single quote or [] with double quote.
>>>
>>>What's the best EditBox method/event to achieve this functionality?
>>>
>>>Thanks a lot in advance.
>>
>>Lostfocus ? But are you sure you want to do it for option 3.
>>Cetin
>
>Yes, I thought about LostFocus too. Great minds... you know :)
>And I can not be 100% about option 3, though in my application and the usage of IndexExpr I believe, can be. It would be very unlikely, that user want an Index expression like:
>index on "Nadya's + Cetin's work [could ]+upper(fieldname)+' not be done'" :)

Actually I noticed DataDict and IndexExpr after I clicked 'send' :) Why don't you just normalize() and leave rest as is.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform