|
- Overview
- Control in a window or in a page
- Creating a Calendar control
- Describing a calendar
- Translating the calendar elements
- Translating the "Today"/"Preset period" button
- Translating the days and the months displayed in the calendar
- Translating the popup menu of calendar
Creating a Calendar control To create a Calendar control: - On the "Creation" pane, in the "Graphic controls" group:
 expand "Time" and select "Calendar". click "Calendar".
- Click where the control will be created in the window or page. The control appears in the editor.
To view the control characteristics, select "Description" in the popup menu of the control. The Calendar control can be customized in the editor via the description window. We will now present some features of the Calendar control. You can: - define a period of dates managed by the calendar ("Lower bound" and "Upper bound" in the "General" tab of the description window).
- define a background image:
"General" tab of the description window. "Style" tab of the description window, "Background image" element.
- define the characteristics of the calendar ("Details" tab of the description window):
- first day of week,
- display format of month,
- multiselection calendar (not available in WEBDEV, PHP, iPhone, iPad),
- presence of a "Today" button.
- define the style of all the elements displayed in the calendar ("Style" tab). To define the style of an element, all you have to do is click its caption ("Sunday" for example).
Versions 16 and latermodify the image of the "Next" and "Previous" buttons ("Style" tab, "Next/Previous buttons" element). New in version 16modify the image of the "Next" and "Previous" buttons ("Style" tab, "Next/Previous buttons" element). modify the image of the "Next" and "Previous" buttons ("Style" tab, "Next/Previous buttons" element).
Translating the calendar elements Translating the "Today"/"Preset period" button The translation of the "Today"/"Preset period" button is performed in the description window of the calendar ("Details" tab). Translating the days and the months displayed in the calendar To translate the days and the months displayed in the Calendar control, you must configure the language options of the project. - Open the project description: on the "Project" pane, in the "Project" group, click "Description".
- In the "Languages" tab, select the desired language.
- In the linguistic options of the selected language, select "Date" then "Use the following parameters".
- Click the "Days and Months" button and enter the translations if necessary. Validate.
- Validate the project description.
Related Examples:
|
Unit examples (WINDEV): The Calendar control
[ + ] Four methods for using the Calendar control: - Using the Calendar control found in the WINDEV toolbar - Using CalendarOpen and CalendarPicker as well as CalendarSelect (multi-selection) - Using ..CalendarButton - Using BankHolidayAdd
|
This page is also available for…
|
|
|
| |
| | https://youtu.be/YAqDnSyzxx8
https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2067-windev-mobile-calendario-5.html
|
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |