|
|
|
|
|
- Overview
- Configuring the Sidebar control tabs
- Managing tabs
- Setting the background image of the tabs
- States of tabs
- Special case: image of panes with three images
Characteristics of Sidebar controls
The main characteristics of a Sidebar control can be configured: - in the "General" tab of the field description: you can configure each of the Sidebar control panes.
- in the "UI" tab of the field description: shutter management can be configured.
- in the "Detail" tab of the field description: you can configure the background image of the shutters.
Configuring the Sidebar control tabs The "General" tab in the description window of the Sidebar control allows you to: - add, delete and insert new tabs.
- configure (for the tab selected in the preview):
- the initial state of the tab.
- its caption.
- the image associated with the text of the tab.
Attention: This image does not correspond to the pane's background image, but to an image displayed to the left of the label.
Note There are no automation scrollbars in Sidebar control panes. If all controls cannot be displayed, they are truncated. The "UI" tab of the Sidebar control description window allows you to set the tab display options. You can set: - the animation used when changing tabs.
- the option to remember the active tab. If this option is selected, the state of the tab will be saved when the window is closed. This tab will be automatically selected the next time the window is opened.
Setting the background image of the tabs The "Details" tab of the Sidebar control description window allows you to manage the background image of the tabs. This image is used by all the tabs. This image can contain the different states of the tab. Tip To obtain original images, consult the WINDEV/WINDEV Mobile image catalog and select a 5-state button image. States of tabs You can manage the different states of the tab via the associated image. Each state corresponds to a specific drawing. All the drawings are saved in a single image. This image is associated with the pane: simply specify the number of states (i.e. drawings) present in the image file. Example: BlueTab.gif image file  Idle, pressed, grayed out, selected, hovered tab The following image formats are supported in Windows: - Bitmap (*.BMP)
- Graphics Interchange Format (*.gif)
- Joint Picture Experts Group (*.jpg ; *.jpeg)
- Kodak Photo CD (*.pcd)
- PaintBrush (*.pcx)
- Adobe Photoshop Format (*.psd)
- TrueVision TARGA (*.tga)
- Tagged Image File Format (*.tif ; *.tiff)
Note: the "Tiled TIFF" option in TIFF 6.0 is not supported. In this case, we advise you to save the image in tiff 5.0 standard. - Portable Network Graphics (*.png)
- Windows MetaFiles (*.emf ; *.wmf)
- Icons (*.ico ; *.icw)
Remarks: - HQ display (High Quality) available.
- Management of sheets in transparent BMP format (32 bits).
- Cursors (*.cur)
- Portable Document Format (*.pdf)
- Scalable Vector Graphics (*.svg)
- WINDEV images (generated by the image editor, *.WDPIC).
New in version 2025Images in WebP format (*.webp).
Special case: image of panes with three images WINDEV will automatically split the tab image into three separate images. The following criteria are used: - the image is divided into three sections
- section 1 corresponds to the left area
- section 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.
Note If part 2 of your image is less than 16 pixels, we advise you not to use a pane proportional to the label, and to integrate the additional images and label into the image if necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|