ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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 characteristics kept
  • Using the XP/Vista style
  • Overview
  • Using the XP/Vista style in the main menu of a window
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 popup 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.
Remark: If the application is opened on a computer that is using 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: on the "Home" tab, in the "Environment" group, expand "Panes", select "Panes", and then select "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. Display the "Style" tab in the description window of this control ("Description" from the popup menu).
  4. Select "XP/Vista theme" in the "Element" combo box.
  5. Check "Use the active theme in Windows XP/Vista".
Remark: If the theme was not forced at window level, the checkmark will not be found at control level.

XP/Vista theme: Style characteristics kept

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 necessary: on the "Window" tab, in the "Bars and menus" group, expand "Main menu" and select "Add main menu".
  3. Display the "Style" tab in the description window of the current window ("Description" from the popup menu).
  4. Check "Display the menu in XP/Vista style".
Remark: The menus that are using the XP style keep the characteristics of the font used for the menu options (size, color, ...). 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: 06/14/2023

Send a report | Local help