I get an error when compiling my project in Delphi RAD Embarcadero FMX: Undeclared Identifier PFD_MAIN_PLANE . It seems that the function wglGetPixelFormatAttribivARB that uses this attribute is not supported in FMX.
Any ideas?
I get an error when compiling my project in Delphi RAD Embarcadero FMX: Undeclared Identifier PFD_MAIN_PLANE . It seems that the function wglGetPixelFormatAttribivARB that uses this attribute is not supported in FMX.
Any ideas?
While you are looking for a FMX replacement for that Windows component, you can use the directive:
{$IF DEFINED(MSWINDOWS)}
and
{$ENDIF}
in your uses clause in order for your project to compile in FMX.
Design for FMX is so fundamentally different to VCL though. Sometimes it's better to just roll up your sleeves and start from scratch with a new design that makes sense for mobiles and tablets.