yeah, i know, but somehow, the text doesent show up even though i use "TheDraw.Surface.Canvas.Release" after the textout...

[pascal]
procedure DoLogin;
begin
fMain.TheDraw.Surface.Draw(0,0,LoginBG.ClientRect, LoginBG,False);
fMain.TheDraw.Surface.Draw(434,338,LoginFields.Cli entRect,LoginFields,True);
fMain.TheDraw.Surface.Canvas.Brush.Style:= bsClear;
fMain.TheDraw.Surface.Canvas.Font.Size:= 12;
fMain.TheDraw.Surface.Canvas.Font.Color:= clBlack;
fMain.TheDraw.Surface.Canvas.TextOut(440,361,Login Name);
fMain.TheDraw.Surface.Canvas.TextOut(440,406,Login Pass);
fMain.TheDraw.Surface.Canvas.Release;
end;
[/pascal]
(i know i should use "with fmain.Thedraw do", but i just want it to work first )
the flip comes after this on the end of the Processgamestate procedure...