peApplicationStyle - cWebApp
Determines whether the WebApp uses the Desktop (user-driven) UI or the Mobile/Touch (drilldown) UI.
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer peApplicationStyle
Access Methods
| Access Type | Syntax |
|---|---|
| Read Access | Get peApplicationStyle to IntegerVariable |
| Write Access | Set peApplicationStyle to IntegerVariable/Value |
Description
The DataFlex Web Framework supports two styles of web applications: Desktop and Mobile/Touch.
- Desktop Style: Utilizes a user-driven interface.
- Mobile/Touch Style: Utilizes a drilldown interface.
Valid values are:
- 0: Desktop
- 1: Mobile/Touch
Note that whether your web application uses the Desktop or Mobile/Touch style is not determined by this property setting alone. Each style requires a different design approach, and your web application will be structurally and functionally different for each style. Refer to the Developing Web Applications help topic for more information.
When you create a new web application using the Mobile Web Project or the Desktop Web Project wizard, the correct setting for this property will be made for you.