Question

control tab clicks within form when on standardmdi display.

Posted 6 years ago by Avatar bharath
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 6 years ago by Actipro Software Support - Cleveland, OH, USA
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 6 years ago by Mike Strobel - Software Engineer, CDC Software
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 6 years ago by bharath
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 6 years ago by Actipro Software Support - Cleveland, OH, USA
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 6 years ago by bharath
Hello,

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


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

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

Actipro Software Support
Posted 6 years ago by Mike Strobel - Software Engineer, CDC Software
Perfect, thanks!

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

Actipro Software Support
Posted 6 years ago by bharath
Waiting for the next maintainence release .


Thanks
Bharath
Information The latest build of this product (2014.2 build 0610) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.