|
|
|
|
|
- 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
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.
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: - Open the relevant window in WINDEV (from the project explorer for example).
- Display the "Modifier" pane: under the "Home" pane, in the "Environment" group, pull down "Panes" then select "Panes" and "Modifier".
- 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: - Force the use of the Windows XP theme on the window to which the control belong (see paragraph above).
- Select the desired control.
- Open the "Style" tab in the description window of this control ("Description" in the context menu).
- Select "XP/Vista theme" in the "Element" combo box.
- 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 control | Style characteristics kept | Example Theme used: "Windows XP/Vista" |
---|
Edit control | All the style characteristics except for:- the input border.
- the scrollbar.
| | Button | All 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 Button | All the style characteristics except for:- the checkmark.
- the background color of the inside border.
| | Check Box | All the style characteristics except for:- the checkmark.
- the background color of the inside border.
| | List Box | All the style characteristics except for:- the scrollbar.
- the background color of the inside border.
| | Combo Box | All the style characteristics except for:- the arrow button.
- the scrollbar (of the expanded area).
- the input border.
| | Table | All the style characteristics except for:- the scrollbar.
- the background color of the inside border.
| | TreeView | All style characteristics except for the scrollbar. | | Progress Bar | All 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. | | Scrollbar | No characteristic. | | Slider | No characteristic. | | Spin | No characteristic. | | Tab | All 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. | |
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: 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: - Open the requested window in WINDEV.
- 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".
- Open the "Style" tab in the description window of the current window ("Description" in the context menu).
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|