Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y/N value in text boxes bound to logical fields
Message
 
À
04/02/1999 08:15:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00183791
Message ID:
00183838
Vues:
21
>>Well you can still use a text box with Y in the inputmask.<
>
>I tried that and it didn't appear to work. I will look again.

In what way, exactly, does it fail? It works perfectly as expected for me. I'm wondering what behavior you're seeing.

One thing which "caught" me, (but I don't think it applies to you because you're probably not using a grid). If you have a column based on a logical field, you want to use the column's InputMask property, not the contained textbox's.

At first I couldn't figure out why the whole column was showing .T./.F. unless the logical column in the active row had the focus, then that field showed Y/N. I investigated on my own and found that the column had InputMask and Format properties, and that was what I wanted. (Actually you always want to use the column's properties, the contained object's properties are just for overriding the column's on the active row.)

Sorry for mentioning it if this was immediately obvious to everyone else ...

Cheers,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform