Atozed Forums
TIWCalendar in modal window - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWCalendar in modal window (/thread-2494.html)

Pages: 1 2


TIWCalendar in modal window - JuergenS - 08-23-2021

Hi,

I would like to place the calendar component TIWCalendar in a TFrame and use the frame in a modal window.

If I then click on any selectable component in the calendar, the corresponding event handler is also called by TIWCalendar,
after that, the modal window says goodbye without any further message and the calling form remains inoperable.

I often use modal windows together with TFrame in this form and have not had any problems so far.

A simple sample project for C ++ Builder is available.

C++Builder 10.4.2
Intraweb 15.2.36

Regards
JürgenS


RE: TIWCalendar in modal window - Alexandre Machado - 08-23-2021

You mention a sample project. Can you please send it to alexandre [at] atozed dot com?


RE: TIWCalendar in modal window - JuergenS - 08-24-2021

I sent it.


RE: TIWCalendar in modal window - Alexandre Machado - 08-30-2021

I'll work on it today and let you know how it goes

Thanks


RE: TIWCalendar in modal window - JuergenS - 09-02-2021

Is there any new information on this topic ?


RE: TIWCalendar in modal window - kudzu - 09-11-2021

I've pinged Alexandre on this one.


RE: TIWCalendar in modal window - Alexandre Machado - 09-12-2021

I'm working on it right now. I'll have an answer soon.


RE: TIWCalendar in modal window - Alexandre Machado - 09-12-2021

The problem with that test case is that IWCalendar doesn't have an OnAsyncDateChanged event and that's what is needed in that case. Once you are using the OnDateChanged event (which is sync) a full submit will happen and it won't work correctly.
I'm investigating other possibilities and let you know ASAP


RE: TIWCalendar in modal window - JuergenS - 09-13-2021

Thanks for the information


RE: TIWCalendar in modal window - Alexandre Machado - 09-13-2021

Please try IW 15.2.37 just released. I added Async support to IWCalendar via AsyncMode property. Switch it to True and it will trigger the events in an async way.

Please let me know how it goes