IsFormTransparentAvailable
Syntax
Delphi
function IsFormTransparentAvailable: Boolean;
C++Builder
bool __fastcall IsFormTransparentAvailable(void);
Description
The IsFormTransparentAvailable
function checks whether transparency mode is supported on the current system.
Transparency is available only under Windows 2000 or higher, and requires a 16- or 32-bit display mode.
This function is typically used before enabling transparency in TTransparentFlashPlayerControl
(for example, when setting the MakeParentTransparent property to True
).
Delphi Example
if Not IsFormTransparentAvailable then
begin
ShowMessage('Translucency based on Flash is not available');
Application.Terminate;
end;
C++Builder Example
if (!Flashplayercontrol::IsFormTransparentAvailable())
{
ShowMessage("Translucency based on Flash is not available");
Application->Terminate();
}