Form - RenderStyle Property

Defines the whether the form should render using DirectX, Win32 or defer to the application

Member of Form (PRIM_FORM)

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 forms to run as DirectX.
 
As the default RenderStyle is Application, there is no need to specifically set this property if the application is executing using RDNR=X

Allowed Values

Enum ValueDescription
ApplicationDefer to the applcation RenderStyle setting
DirectXExecute this form using DirectX
Win32Execute this form using Win32


 
 

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2