• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Simplified Date Navigation in TTMSFNCCalendar

Sascha Оффлайн

Sascha

Заместитель Администратора
Команда форума
Администратор
Регистрация
9 Май 2015
Сообщения
1,486
Баллы
155
In the past 2 weeks

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

received various improvements and fixes. Among those improvements a new feature was also added to TTMSFNCCalendar: year and month selection. These additions make the calendar component more versatile and adaptable to various user interface needs. Let's take a closer look at what’s been added and how you can take full advantage of these new options.

Enabling Year and Month Selection
TMS Software Delphi  Components

Out of the box, the year and month selection options are turned off to ensure backward compatibility for existing applications. Activating these features is straightforward, requiring only a few simple property settings:

  • Set Interaction.AllowYearSelection to True to enable year selection.
  • Set Interaction.AllowMonthSelection to True to enable month selection.
Once enabled, the year and month captions on the calendar become interactive, allowing users to click on them and select a different month or year. This interaction enhances the navigation experience, making it quicker and more intuitive to move between different dates.

Customizing the Year Selector

With year selection enabled, users are presented with a predefined range of years that centers around the current year. This range is fully customizable via the Interaction.YearOptions property, which includes two subproperties:

  • ItemsBeforeCurrentYear: Determines the number of years before the current year that will be displayed.
  • ItemsAfterCurrentYear: Determines the number of years after the current year that will be displayed.

New Event Handlers
TMS Software Delphi  Components

To provide greater flexibility and control over the user experience, we’ve added four new event handlers to TTMSFNCCalendar. These events allow developers to hook into key points of the selection process:

  • OnBeforeShowMonthPopup: Activated prior to displaying the month selection popup.
  • OnBeforeShowYearPopup: Invoked before the year selection popup opens.
  • OnMonthPopupValueSelected: Triggers upon choosing a month from the popup.
  • OnYearPopupValueSelected: Fires when a year is selected from the popup.

Try It Out!

The TMS FNC UI Pack continues to evolve, bringing new features and improvements designed to enhance user experience and simplify development. We’re excited for you to try the latest updates to TTMSFNCCalendar and see how the year and month selection feature can bring additional functionality to your applications. As always, we’re here to support you with any questions and look forward to seeing how you integrate these new features into your projects!


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу