Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I have a textbox on a form and I've set its Backstyle property to 0-Transparent. This works as expected when I'm designing the form, however, when I run the form, it is no longer transparent!
>>
>>I discovered this problem when I set the form's picture property to a bitmap and saw that all of the textboxes were behaving as "1-Opaque" and not Transparent as I'd specified.
>>
>>Does anyone have any ideas as to why and if there is a way to get a transparent textbox at runtime?
>>
>>TIA
>>
>>Mike
>
>Hi Mike,
>
>I ran into this problem a while back. You can note that the textbox will be transparent as long as it does not have focus. I guess that there is some requirement that a textbox with focus reverts back to opaque. There appears to be no workaround ( at least for native controls ).
>
>Bill
Thanks for the reply Bill.
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