AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The DisplayMode property gets and changes:
  • WINDEV the display mode in a Word Processing control,
  • WINDEV the display mode in a PDF Reader control,
  • WINDEV the display mode in an HTML Editor control,
  • the display mode in a Kanban control.
Ejemplo
// [Web mode] button
WP_Doc.DisplayMode = displayModeWeb
IF ScreenType() = stTablet THEN
KANBAN_TASKS.DisplayMode = displayModeKanbanMultiList
END
Sintaxis

Getting the display mode of an Office control Ocultar los detalles

<Result> = <Control used>.DisplayMode
<Result>: Integer constant
Current display mode of the control:
displayModeContinuousThe white space between pages is hidden.
Note: This constant is only available for the HTML Editor field..
displayModeHtmlSourceCodeThe HTML source code is displayed in the HTML Editor control.
Note: This constant is only available for the HTML Editor field..
displayModeKanbanMultiListMultiple lists can be displayed simultaneously in the Kanban control. This constant corresponds to the "Multiple lists" option in the "Details" tab of the Kanban control description window.
Note: This constant is only available for the Kanban control field..
displayModeKanbanSingleListOnly one list will be displayed in the Kanban control. The other lists can be accessed by scrolling horizontally. This constant corresponds to the "Scrollable centered list" option in the "Details" tab of the Kanban control description window.
Note: This constant is only available for the Kanban control field..
displayModeOnePage
(Default value)
The document is displayed as it will be printed.
Note: This constant is not available for the HTML Editor field..
displayModeTwoPagesThe document pages are displayed side by side.
Note: This constant is not available for the HTML Editor field..
displayModeTwoPagesWithCoverThe document pages are displayed side by side. The first page is set as cover page. The first page is displayed on the right.
Note: This constant is not available for the Word Processing control or HTML Editor fields..
displayModeWebThe document is displayed as a Web page.
Note: This constant is not available for the PDF Reader control field..
<Control used>: Control name
Name of control to use:
  • Word Processing control.
  • PDF Reader control to use.
  • HTML Editor control.
  • Kanban control.

Changing the display mode of an Office control Ocultar los detalles

<Control used>.DisplayMode = <New mode>
<Control used>: Control name
Name of control to use:
  • Word Processing control.
  • PDF Reader control to use.
  • HTML Editor control.
  • Kanban control.
<New mode>: Integer constant
Display mode to apply to the control:
displayModeContinuousThe white space between pages is hidden.
Note: This constant is only available for the HTML Editor field..
displayModeHtmlSourceCodeThe HTML source code is displayed in the HTML Editor control.
Note: This constant is only available for the HTML Editor field..
displayModeKanbanMultiListMultiple lists can be displayed simultaneously in the Kanban control. This constant corresponds to the "Multiple lists" option in the "Details" tab of the Kanban control description window.
Note: This constant is only available for the Kanban control field..
displayModeKanbanSingleListOnly one list will be displayed in the Kanban control. The other lists can be accessed by scrolling horizontally. This constant corresponds to the "Scrollable centered list" option in the "Details" tab of the Kanban control description window.
Note: This constant is only available for the Kanban control field..
displayModeOnePage
(Default value)
The document is displayed as it will be printed.
Note: This constant is not available for the HTML Editor field..
displayModeTwoPagesThe document pages are displayed side by side.
Note: This constant is not available for the HTML Editor field..
displayModeTwoPagesWithCoverThe document pages are displayed side by side. The first page is set as cover page and is displayed on the right.
Remarks:
  • Using this constant changes the display mode but it does not change the document zoom in the PDF Reader control. To change the zoom, use the Zoom property.
  • This constant is not available for Word Processing or HTML Editor controls.
displayModeWebThe document is displayed as a Web page.
Note: This constant is not available for the PDF Reader control field..
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local