rj
2013-08-12 18:40:31
Trying to set my TPanel to a color but it's not working :/
It ends up like this

I can't align the Panels properly if I can't see half of it lol..
Btw that color is green so as you can see it's not the right color
I could always use TShapes if I have to but would rather use TPanel
for i := 0 to high(FormData.GPanels) do
begin
FormData.GPanels[i] := TPanel.Create(FormData.Tabs[0]);
with FormData.GPanels[i] do
begin
Parent := FormData.Tabs[0];
Top := Positions[i].x;
Left := Positions[i].y;
Width := Sizes[i].x;
Height := Sizes[i].y;
COLOR := 32768;
end;
end; It ends up like this

I can't align the Panels properly if I can't see half of it lol..
Btw that color is green so as you can see it's not the right color
I could always use TShapes if I have to but would rather use TPanel