Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > isControlSupported

isControlSupported

isControlSupported(class: GUIClass): Boolean;

The isControlSupported method of the Application class returns true if the subclass of the Control class specified by the class parameter is supported by the current presentation client.

If the class parameter is not a supported control type or is not a subclass of the Control class, the method returns false.

The following example shows the use of the isControlSupported method.

boolean := app.isControlSupported(ActiveXControl);

For standard Windows presentation clients, this method returns true for all control classes except JadeXamlControl. Windows 10, Windows 8, Windows 7, Windows Server 2016, Windows Server 2012, and Windows Server 2008 support JadeXamlControl only if .NET 3 is installed. If .NET 3 is not installed, false is returned.

For Compact JADE, the method returns false for ActiveXControl, Ocx, OleControl, JadeRichText, MultiMedia, JadeTextEdit, and JadeXamlControl controls; otherwise the method returns true.