Cosmetic: Replace old style SQL wait mouse cursor with system default wait cursor. Especially prettier when running Vista.

This commit is contained in:
Ansgar Becker
2008-08-26 08:36:06 +00:00
parent c197a86751
commit e2b67b5831
4 changed files with 7 additions and 7 deletions

View File

@@ -2140,7 +2140,7 @@ begin
Exit;
// Refresh variables and process-list
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
// Remember selected nodes
SelectedCaptions := GetVTCaptions(ListVariables, True);
@@ -2244,7 +2244,7 @@ begin
// No need to update if it's not visible.
if PageControlMain.ActivePage <> tabHost then exit;
if PageControlHost.ActivePage <> tabProcesslist then exit;
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
// Remember selected nodes
SelectedCaptions := GetVTCaptions(ListProcesses, True);
try
@@ -5111,7 +5111,7 @@ begin
case Sender.GetNodeLevel(Node) of
// Root node has only one single child (user@host)
0: begin
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
mainform.Showstatus( 'Reading Databases...' );
try
Databases := WideStrings.TWideStringList.Create;
@@ -5149,7 +5149,7 @@ begin
end;
// DB node expanding
1: begin
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
mainform.Showstatus( 'Reading Tables...' );
try
ds := FetchDbTableList(Databases[Node.Index]);

View File

@@ -100,7 +100,7 @@ procedure Tconnform.ButtonConnectClick(Sender: TObject);
var
reg : TRegistry;
begin
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
ButtonConnect.Enabled := false;
if Mainform.CreateMDIChild(

View File

@@ -453,7 +453,7 @@ begin
Exit;
end;
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
strAttributes := ''; // none of the 3 attributes binary, unsigned, zerofill
strNull := '';
strDefault := '';

View File

@@ -156,7 +156,7 @@ var
ds: TDataSet;
sql: WideString;
begin
Screen.Cursor := crSQLWait;
Screen.Cursor := crHourglass;
Mainform.ChildWin.TemporaryDatabase := self.DBComboBox.Text;
ClearResults;
try