Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When Opaque isnt...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00223154
Message ID:
00223353
Vues:
28
>Thanks Bruce!
>
>That's the case - my controls are sitting atop a transparent (box) shape, on top of a pageframe. Do I have to make my box into 4 separate lines?
>
>What's your fix?

The fix is fairly easy, but a little strange. You need to set the Backcolor of EVERY shape or container on the form to the backcolor of your textboxes. I assume you have the Backstyle set to Transparent, but make this change anyway. The color that's bleeding through is really from the shape/container Backcolor.

Also, assuming you use the user's Windows color for the textbox Backcolor, the way I suggest to make the fix is, in the form Init, set shape/container as follows:

this.shape1.backcolor = this.text1.backcolor &&any enabled textbox will do here
this.container1.backcolor = this.text1.backcolor
etc. (use Setall if many)

The fix will not work unless you change EVERY shape/container this way, it seems to bleed from shapes/containers that appear visually quite distant from the affected textboxes...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform