Panel - RenderStyle Property

Render content as DirectX or defer to the parent control

Member of Panel (PRIM_PANL)

Data Type - Enumeration

Details

The RenderStyle property is used to specify how the LANSA runtime will create and maintain the user interface.
 
This is derived from the RNDR runtime variable.
 
All modern LANSA applications should use DirectX (RNDR=X).
 
Originally, LANSA rendered the screen using Win32 features (RNDR=W). For backward compatibility purposes, and to allow a piecemeal move to DirectX from Win32, LANSA supports the use of a mixed environment (RNDR=M), where some forms and reusable parts can render using DirectX while the majority of the application uses Win32.
 
The RenderStyle property allows a some reusable parts and panel to run as DirectX.
 
As the default RenderStyle is Parent, there is no need to specifically set this property if the application is executing using RDNR=X

Allowed Values

Enum ValueDescription
DirectXExecute this panel using DirectX
ParentDefer to the RenderStyle of the parent control


 
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2