control tab clicks within form when on standardmdi display.

Docking/MDI for WPF Forum

Posted 15 years ago by bharath
Version: 4.5.0480
Avatar
Hello All,

I have a query, when i am displaying the document windows in standard MDI mode and clicking tab control then the focus within the form will be lost and other form will be displayed. I need to control this feature so that the controls stays well within the focused form and does not focus some other form.

Thank in advance.

Bharath

Comments (13)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Bharath,

Sorry I'm not quite sure I follow you. Maybe you could make a simple project that shows this and email it over.

Do you mean that if you have focus in a standard MDI document, and you click on a tool window tab elsewhere, you want focus to remain in the document and not focus the tool window?


Actipro Software Support

Posted 15 years ago by Mike Strobel - Software Engineer, CDC Software
Avatar
It sounds like you might be able to achieve the desired effect by intercepting and cancelling a DockSite::WindowActivating event, if such an event existed. Perhaps such an event would be a worthwhile addition to the API.
Posted 15 years ago by bharath
Avatar
Hello All,

I am not talking about clicking on the tool window. what i meant is ,

for example:- i have three doc windows opened in the standard mdi mode.
now i am clicking on tab button the focus has to remain in the document window which has the focus.
In the present scenario what happening is it is taking the focus out of the doc window.


I hope i have made you understand the exact scenario.

Thanks in advance
Bharath
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Bharath,

Sorry I'm still not sure what you mean by a tab button. Maybe you could email over a screenshot showing your UI and put a circle around the button to which you are referring. That would help. Thanks!


Actipro Software Support

Posted 15 years ago by bharath
Avatar
Hello,

I am referring to the button above the caps lock button in the Keyboard.


Regards
Bharath.
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Aha, sorry! I thought you were originally talking about a "tab control" like some sort of tabstrip. :)

Ok I see what you mean and have it fixed for the next maintenance release.


Actipro Software Support

Posted 15 years ago by Mike Strobel - Software Engineer, CDC Software
Avatar
Can I infer that this means you have changed the TabNavigation mode on your MDI windows?
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes that's all it was. You could probably do it in a Style yourself in the meantime.


Actipro Software Support

Posted 15 years ago by Mike Strobel - Software Engineer, CDC Software
Avatar
Out of curiosity, what is your new default? Cycle or Contained?
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I believe we have it set to Cycle.


Actipro Software Support

Posted 15 years ago by Mike Strobel - Software Engineer, CDC Software
Avatar
Perfect, thanks!

Any idea when the next maintenance release will be available?
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Probably in the next week or two. We have a pretty decent number of updates ready.


Actipro Software Support

Posted 15 years ago by bharath
Avatar
Waiting for the next maintainence release .


Thanks
Bharath
The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.