Home > Archive > Getting Started with dBASE > October 2006 > transparent tex controls









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author transparent tex controls
Chris

2006-10-25, 7:23 am

Hi

What i have is a form with a picture on it anchor property set to 6 so it covers the backround. I am tying to put text controls on it and set there transparence property to true so the backround shows through the border and only the text is on the form.
Setting the transparence to true for the text control does nothing.
any ideas??
The picture is in the base form i don't think this should matter though.

Thanks in advance
Chris
Frank J. Polan

2006-10-25, 7:23 am

Chris,

Setting the transparent property to TRUE shows the allows the
colorNormal of the form to show through.

If your background has some reasonably solid areas of color where you
want to place the text,- try this -

Use a graphics program - Paintshop Pro, Phototshop, etc, to get the
RGB settings for the color of your image. Set the forms ColorNormal to
those settings

Or, depending on the image's texture, you could also try setting the
background color of the text objects to match the color of your image

HTH

Frank Polan


On Sat, 23 Sep 2006 17:57:13 -0400, Chris <cr6825@hotmail.com> wrote:

>Hi
>
>What i have is a form with a picture on it anchor property set to 6 so it covers the backround. I am tying to put text controls on it and set there transparence property to true so the backround shows through the border and only the text is on the form.

Setting the transparence to true for the text control does nothing.
>any ideas??
>The picture is in the base form i don't think this should matter though.
>
>Thanks in advance
>Chris


Roland Wingerter

2006-10-25, 7:23 am

Chris wrote

>
> What i have is a form with a picture on it anchor property set to 6 so it
> covers the backround. I am tying to put text controls on it and set there
> transparence property to true so the backround shows through the border
> and only the text is on the form. Setting the transparence to true for
> the text control does nothing.
> any ideas??
> The picture is in the base form i don't think this should matter though.

--------
Have you tried setting the base form's background property to your picture?

Try that in the form below.

Roland

** END HEADER -- do not remove this line
//
// Generated on 31.07.2000
//
parameter bModal
local f
f = new colortestForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif

class colortestForm of FORM
with (this)
colorNormal = "blue"
height = 16
left = 53
top = 0
width = 40
text = ""
endwith

this.CONTAINER1 = new CONTAINER(this)
with (this.CONTAINER1)
left = 1.8571
top = 2.0455
width = 17.8571
height = 12.5455
colorNormal = "red"
endwith

this.RECTANGLE1 = new RECTANGLE(this)
with (this.RECTANGLE1)
left = 22.5714
top = 3.3182
width = 16.4286
height = 11.1818
text = "Rectangle1"
colorNormal = "BtnText/lime"
endwith

this.TEXT1 = new TEXT(this)
with (this.TEXT1)
height = 1.6364
left = 7.1429
top = 6
width = 26.2857
colorNormal = "white/BtnFace"
transparent = true
fontSize = 17
text = "big text"
endwith

endclass


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com