ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Window
  • Overview
  • Using the theme of Windows XP/Vista
  • Overview
  • Forcing the use of the Windows XP/Vista theme on a window
  • Forcing the use of the Windows XP/Vista theme on a window control
  • XP/Vista theme: Style features retained
  • Using the XP/Vista style
  • Overview
  • Using the XP/Vista style in the main menu of a window
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Using the Vista style in your windows
Warning
This help page is kept for backward compatibility. The Vista style options are only available for existing projects that already use this style. These options will not be available for new projects.
Overview
WINDEV allows you to customize:
  • the windows and the controls found in these window by using the theme of Windows XP/Vista.
  • the menus (main or context menus) of the windows that use the XP/Vista style (feature available even if the current computer is not running Windows XP/Vista).
Using the theme of Windows XP/Vista

Overview

The theme of Windows XP/Vista corresponds to the characteristics of the interface on a computer running Windows XP/Vista. This theme is defined in the configuration panel of Windows.
WINDEV allows you to force the use of the Windows XP/Vista theme in the windows and in the controls found in these windows. In this case, as soon as the application is opened on a computer running Windows XP/Vista, the theme of Windows XP/Vista defined on this computer will be applied.
Note If the application is opened on a workstation running another operating system, the style characteristics (defined in the "Style" tab of the description windows) will be automatically applied.

Forcing the use of the Windows XP/Vista theme on a window

To force the use of the Windows XP/Vista theme on a window:
  1. Open the relevant window in WINDEV (from the project explorer for example).
  2. Display the "Modifier" pane: under the "Home" pane, in the "Environment" group, pull down "Panes" then select "Panes" and "Modifier".
  3. In the modifier, in the "Style" category, switch the "XP theme" option to "Yes".
    In the "Style" tab of the description window of current window, the option "Force the active theme in Windows XP/Vista" is displayed and it is automatically checked.
Remarks:
  • The windows that are using the Windows XP/Vista theme keep their style characteristics (defined in the "Style" tab of the description window)
  • If a background image is used, this image is kept. Otherwise, the corresponding XP/Vista theme (background color of the window) is applied.

Forcing the use of the Windows XP/Vista theme on a window control

To force the use of the Windows XP/Vista theme on a window control:
  1. Force the use of the Windows XP theme on the window to which the control belong (see paragraph above).
  2. Select the desired control.
  3. Open the "Style" tab in the description window of this control ("Description" in the context menu).
  4. Select "XP/Vista theme" in the "Element" combo box.
  5. Check "Use the active theme in Windows XP/Vista".
Note: If the theme has not been forced at window level, the check mark will not be present in the.

XP/Vista theme: Style features retained

The following table presents the style characteristics kept for the controls that use the Windows XP/Vista theme (characteristics defined in the "Style" tab of the description window of these controls):
Type of controlStyle characteristics keptExample
Theme used: "Windows XP/Vista"
Edit controlAll the style characteristics except for:
  • the input border.
  • the scrollbar.
ButtonAll the style characteristics except for the color of the caption.
If the button uses a background image or a border image, this image is kept. Otherwise, the XP theme is applied.
Radio ButtonAll the style characteristics except for:
  • the checkmark.
  • the background color of the inside border.
Check BoxAll the style characteristics except for:
  • the checkmark.
  • the background color of the inside border.
List BoxAll the style characteristics except for:
  • the scrollbar.
  • the background color of the inside border.
Combo BoxAll the style characteristics except for:
  • the arrow button.
  • the scrollbar (of the expanded area).
  • the input border.
TableAll the style characteristics except for:
  • the scrollbar.
  • the background color of the inside border.
TreeViewAll style characteristics except for the scrollbar.
Progress BarAll the style characteristics except for:
  • the caption.
  • the outside border.
If the progress bar uses a cursor image, this image is kept. Otherwise, the XP/Vista theme is applied.
ScrollbarNo characteristic.
SliderNo characteristic.
SpinNo characteristic.
TabAll the style characteristics except for the color of the outside border. If the tab panes are using an image, this image is kept. Otherwise, the XP/Vista theme is applied.
Using the XP/Vista style

Overview

WINDEV allows you to use the XP/Vista style on the menus (main and/or context menus) found in the windows. To view the menus in XP/Vista style, the current computer does not necessarily have to run Windows XP/Vista.
For example:
  • Context menu:
  • Main menu:

Using the XP/Vista style in the main menu of a window

In order for the main menu of a window to use the XP/Vista style:
  1. Open the requested window in WINDEV.
  2. Insert the main menu if required: under the "Window" pane, in the "Bars and menus" group, pull down "Main menu" and select "Add main menu".
  3. Open the "Style" tab in the description window of the current window ("Description" in the context menu).
  4. Check "Display the menu in XP/Vista style".
Note Menus using the XP look retain the font characteristics of the menu options (size, color, etc.). These characteristics have been defined in the "Style" tab of the description window of the menu option.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 10/26/2024

Send a report | Local help