|
|
|
|
|
- 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 on a page
- 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: 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 normal status then drawing of pressed 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.
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.
- Open the tab description.
- In the "Style" tab, select the "Tab panel buttons" item.
- Specify:
- the position of the panes.
- the image path to be used for tab panes, with stretch management mode (3-frame mode if required).
- the divider color.
- Validate.
Background color/Background image of tabs
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|