hermes
09-24-2000, 01:54 PM
There may be an easierway to do this but this is the easiest way I found so far:
I am trying to set make my openGL TImage tansparent. If I make the TImage transparent I get a flickering effect when I draw the openGL. So I thought I could use the TColor constants to set my glClearColor. If I make a hex assignment to a TColor it works fine but if I use the constants (ie. clBtnFace) I get strange colors -- Red when the buttons are Grey)
Does anyone have any suggestions on how to use the TColor constants or another way to achieve the transparency of the opengl?
I am trying to set make my openGL TImage tansparent. If I make the TImage transparent I get a flickering effect when I draw the openGL. So I thought I could use the TColor constants to set my glClearColor. If I make a hex assignment to a TColor it works fine but if I use the constants (ie. clBtnFace) I get strange colors -- Red when the buttons are Grey)
Does anyone have any suggestions on how to use the TColor constants or another way to achieve the transparency of the opengl?