BrowserDeviceFormFactor property: Request class
Description
Use this property to return the form factor of the device as an integer, which corresponds to one of the following constants:
| Numeric Value | Constant Value |
|---|---|
|
0 |
%FormFactor_Small |
|
1 |
%FormFactor_Medium |
|
2 |
%FormFactor_Large |
|
3 |
%FormFactor_Xlarge |
This property is read-only.
Important:
Use this property within fluid applications only.
Example
If %Request.BrowserDeviceFormFactor = %FormFactor_Small Then
PTNUI_LP_HEADER.PTNUI_LOGO.LabelImage = Image.PTNUI_ORACLE_LOGO_SFF;
PTNUI_LAND_WRK.GROUPBOX15.FreeFormStyleName = "psc_hidden";
End-If;