|
|
|
|
|
- Overview
- Image associated with the text of the tab
- Image of the tab pane
- Which image to use?
- Manage stretching of shutter button images
- How to associate an image with a tab pane
- Background color/Background image of tabs
- Tabs in a window
- Image formats
To optimize the appearance of your screens, WINDEV, WEBDEV and WINDEV Mobile allows you to use images or colors in your Tab controls. For example: - Image associated with the text of the tab. This image is displayed next to the text of the tab. Example:
- Tab image: This image lets you redefine the shape and color of the tab.. Example:
- Color of tab border. Example:
Remarks: To use a "Transparent" tab, simply select "Transparent" as the background color for the internal frame ("Style" tab in the field description, "Internal frame" item). - You can also modify the appearance of the tabs by modifying display mode of tabs.
Image associated with the text of the tab The image associated with the text of the tab appears next to the text. The image associated with the tab pane replaces the existing tab pane. This gives you the ability to redefine the shape and color of the tab pane. Which image to use? The image associated with the tab pane must contain two drawings: - the drawing corresponding to the normal status of the pane.
- the drawing corresponding to the pressed status of the pane.
The drawings must be organized in the following order: Drawing of pressed status then drawing of normal status.
Please note If the shutter is displayed vertically, the shutter image must be vertical. Manage stretching of shutter button images To manage the resizing of tabs, it may be necessary to manage the enlargement of panel buttons. You can manage: - 3-frame automation stretching.
New in version 2025 A 9-frame stretch. Note: This parameter is only available from version 2025 Update 1.
3-frame automation stretching: In this case, the shutter image is automatically split into 3 images by WINDEV/WEBDEV. The following criteria are used: - the image is divided into three sections
- part 1 corresponds to the left area.
- part 3 corresponds to the right area.
- section 2 corresponds to the middle area. The size of this section is 16 pixels. If the tab is proportional to the text, this section will be repeated as many times as necessary to fit the text.
Remarks: - If part 2 of your image is smaller than 16 pixels, it's advisable not to use a tab pane proportional to the label, and to integrate additional images and the label into the image if necessary.
- If the tabs have different states, the image associated with the tab must contain all the images that correspond to the different states of the tab.
New in version 2025- Open the tab description.
- On the "Style" tab, select the "Images of panes" element.
- Unroll the "Shutter images" button. In the popup that appears:
New in version 2025If buttons are defined by an image, it is possible to use the button background color defined in the "Active panel" and "Inactive panel" elements. - Validate.
Note: In some cases, it is not necessary to use an image to redefine the shape and color of a tab. In fact, the style of the "Active shutter" and "Inactive shutter" elements allows you to specify: - a background color,
- a frame color,
- a frame. Several options are available.
New in version 2025Using a custom frame, you can define rounding, border, line thickness and color options for each edge of the frame.
Background color/Background image of tabs
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|