Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User defined inputmasks
Message
De
11/05/2006 15:00:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01121082
Message ID:
01121103
Vues:
13
Thanks Borislav, it seems that I must have had the [] characters in and that was causing the problem.


>>Hi,
>>
>>I am letting users define what they want to use as inputmasks. So they may enter a value as "999" as an inputmask for a field, or they may enter something like ["!" + REPLICATE("X",19)].
>>
>>When my form runs, it goes through the table that has these fields and inputmasks defined and programmartically adds the appropriate controls to the form. If the inputmask is a simple string like "999" that works fine. If however it is an expression I hav etried doing this:
>>
>>loControl.InputMask = EVALUATE(m.lcInputMask)
>>
>>But all this does is set the input mask to the actual string: "!" + REPLICATE("X",19)
>>
>>Any ideas how to get this to work?
>
>
>thisform.text1.InputMask = TRANSFORM(EVALUATE(InpMask))
>
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform