FireDAC.Comp.UI.TFDGUIxComponent.Provider
Delphi
property Provider: String read GetProvider write SetProvider
C++
__property System::UnicodeString Provider = {read=GetProvider, write=SetProvider, stored=FProviderSpecified};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.UI.pas FireDAC.Comp.UI.hpp |
FireDAC.Comp.UI | TFDGUIxComponent |
Description
Specifies the type of implementation.
Use the Provider property to select the GUIx component implementation:
Value |
Description |
Forms |
VCL based implementation for Delphi / C++ Builder. LCL based implementation for Lazarus / FPC. |
FMX |
FireMonkey based implementation for Delphi / C++ Builder XE2 and higher. |
Console |
Console based implementation. |
After setting the Provider property at design-time, save the form and the corresponding implementation unit is automatically added to the uses section of the from. At run-time you need to manually add the corresponding implementation unit to the uses section. If the corresponding implementation is not linked into the application, an exception will be raised. See the description of the corresponding component for the supported implementations.
If the Provider property value is not explicitly assigned, the default value is used. By default this is 'FMX' for FireMonkey based applications, 'Console' for Windows console applications and 'Forms' - otherwise.
The Provider property value must be assigned before the first usage of the component.
Example
uses
uADGUIxFMXfLogin;
....
FDGUIxLoginDialog1.Provider := 'FMX';
FDConnection1.LoginDialog := ADGUIxLoginDialog1;
FDConnection1.Connected := True;