1. mike S
  2. Beta Testing
  3. Saturday, 20 May 2023 19:16 PM UTC

any idea what event(s) are sent to the window when the windows's tab is clicked? 

i have some windows that when clicked remove all the windows from the tab (resizes them), and others that don't do that but do seem to flicker/resize back to full screen.  I am guessing i have code that resizes things somehow and that is getting triggered when the window's tab is clicked.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 20 May 2023 19:48 PM UTC
  2. Beta Testing
  3. # 1

Hi Mike;

  I wonder too if the Tab behaviour control on the MDI Frame where you turn it on also has a maximize sheet setting as well. I'm guessing that when that is on, the MDI Frame might start fighting with your resizing code? Just a wild guess. 

Regards ... Chris 

Comment
  1. mike S
  2. Saturday, 20 May 2023 21:28 PM UTC
I can't even find any code of mine that would resizing the window itself after it is opened. It does on open, but the tab takes control. I have similar windows that pretty much runs exactly the same where it doesn't happen. idk
  1. Helpful
There are no comments made yet.
Tobias Roth Accepted Answer Pending Moderation
  1. Sunday, 21 May 2023 07:32 AM UTC
  2. Beta Testing
  3. # 2

Hi Mike,

during my tests I noticed a similar problem, every time a tab is selected the resize event of that window is triggered.
I have already created a ticket for this: https://www.appeon.com/standardsupport/search/view?id=10275 
In my opinion, if a window is already maximized, resize should not be triggered if there is no change in size.

Maybe the resize event triggers a chain of events, which leads to the error. Just a guess from my side.

If you have the problem reproducible and can extract it into a test case I think it would be best if you open a ticket for this. Gladly as Public Ticket, then I can also follow the progress :-)

Regards Tobi

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Monday, 22 May 2023 08:01 AM UTC
  2. Beta Testing
  3. # 3

Hi.

I also have a similar question. I noticed that there are some events available in the mdi tab control.

But, despite I do see and I can edit those events, they don't seem to work. Has anyone else tried to use them? Some of them are interesting (itemselected, itemclicked, itemclose, itemrbuttondown, selectionchanged, selectionchanging...)

Andreas.

Comment
  1. Andreas Mykonios
  2. Monday, 22 May 2023 13:15 PM UTC
Hi Chris.

I did.

Andreas.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 22 May 2023 13:26 PM UTC
Thanks Andreas!
  1. Helpful
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Monday, 22 May 2023 08:40 AM UTC
  2. Beta Testing
  3. # 4

Hi Mike,

 

Currently, MDI TabbedView doesn’t support any custom event.

https://docs.appeon.com/pb/whats_new/ch01s01s13.html

The first TabbedBar control added is named mditbb_1 automatically. It has no functions or events. 

 

For how  to work around:

In case of a need to refresh the main window after switching the sheet windows, you will need to write scripts in the Activate event of the sheet window.

The Example Sales App > Address sheet window (w_address) provides a code example:

For the other “flicker/resize back to full screen.” Issue, it is maybe a bug. We will continue to analyze this issue. 

 

Regards,

 

Comment
  1. Andreas Mykonios
  2. Monday, 22 May 2023 08:54 AM UTC
Hi Mark.

You state for mditbb_1 "It has no functions or events.". But take a look ate the directory tree when it's expanded (I provided a screenshot in https://community.appeon.com/index.php/qna/q-a/mdi-tabbed-view-event-when-clicked#reply-40240...

Andreas.
  1. Helpful
  1. Mark Lee @Appeon
  2. Monday, 22 May 2023 09:08 AM UTC
Hi Andreas,



Thanks for your prompt. But according to our development design, this does not allow it. So this issue is also a bug.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.