Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement