2008. március 15., szombat

Getting Rid Of the Annoying SQL Wait Cursor

Problem/Question/Abstract:

How can I Get Rid Of the Annoying SQL Wait Cursor?

Answer:

// Torry's Delphi Tips
// Author Garret Bryl
// Listed 20.02.2003
{
Simply place this one line of code in the OnCreate event of
the form that is showing the annoying SQL Wait cursor...
}

procedure TForm1.FormCreate(Sender: TObject);
begin
Screen.Cursors[crSQLWait] := Screen.Cursors[crHourGlass];
// or whatever cursor you would like to replace the SQL hourglass with
end;


Nincsenek megjegyzések:

Megjegyzés küldése