Data.SqlExpr.TSQLConnection.SQLHourGlass

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

property SQLHourGlass: Boolean read FSQLHourGlass write FSQLHourGlass default True;

C++

__property bool SQLHourGlass = {read=FSQLHourGlass, write=FSQLHourGlass, default=1};

Description

Specifies whether the cursor should change to crSQLWait during lengthy operations.

Set SQLHourGlass to true to specify that the cursor should indicate when the connection is performing a potentially lengthy operation. Such operations include

Establishing a connection to the database server.

Fetching metadata from the database server.

Executing a statement using the Execute method.

When SQLHourGlass is false, the cursor is not changed when the SQL connection performs such operations.

See Also