Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y/N Logical
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00276990
Message ID:
00277039
Vues:
25
>>Is there any easy trick to make a textbox with a logical controlsource show Y/N instead of T/F? And also be able to enter Y/N.
>>
>>I know I can disconnect it and do coding to convert the values, but I was wondering if there was maybe a simple way that I was missing. Also, checkbox is no good since they "enter" through the fields.
>>
>>Thanks,
>>
>Hi Michelle,
>
>I don't think so, the Y format displays T/F. I'd recommend a class with _Access and _Assign methods for the Value property, but my experience with trying to do this with a bound control source hasn't been positive. You might end up with more headaches than you would otherwise.
>
>Is this a "heads down" form?

Yeah, it is. It's also VFP5. It's not a big deal. I went ahead and coded it in the lostfocus. I just thought it would be neat if you could do a trick in the properties screen or something.

Thanks,

Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform