Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First letter of textbox forced to uppercase
Message
 
 
À
09/06/2001 14:13:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00517385
Message ID:
00517421
Vues:
18
>>How about:
>>
>>IF TYPE(This.ControlSource)='C'
>>    if empty(This.InputMask)
>>       This.InputMask='!'+REPLICATE('X',LEN(EVALUATE(This.ControlSource))-1)
>>    endif
>>ENDIF
>>
>
>This.InputMask contains by default a value in the txtField class. I need to detect if at the form designer level, we have overwritten that value.
if dbgetprop('table_name.fieldname', 'field', 'inputmask') == This.InputMask
   *** then you have not overwritten the input mask
else
   *** the input mask ws changed
endif
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform