Home Forums WinForms controls Other WinForms controls Tabbed MDI Childed Form Focus Problem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18373 |

    When I execute Activate or BringToFront method of an Form it brings the form to the front; however, the Tab strip at the top does not reflect that the new window is selected. Is there anyway to manually change the selected tab or force the tabbedMdiManager to refresh?

    Here’s how I’m executing the Activate in the MDI Parent:

    foreach (Form f in this.MdiChildren)
    {
    if (f.Text == “Tickets”)
    {
    f.Activate();
    }
    }

    Thanks!
    Microbolt

    Imported from legacy forums. Posted by Brandon (had 4470 views)

    Xceed Support
    Member
    Post count: 5658

    This is a bug. It will be fix for the next service release (scheduled for the beginning of 2008).

    Imported from legacy forums. Posted by CharlesB (had 303 views)

    User (Old forums)
    Member
    Post count: 23064

    Ver2.1 still has this bug. it’s not the next service release?
    This bug is unacceptable.
    It make tabbedmdimanager useless.

    Imported from legacy forums. Posted by progame (had 342 views)

    Xceed Support
    Member
    Post count: 5658

    I tested the new version (2.1.8113.16100) and I was not able to reproduce the problem. I tested this with the Focus(), the Activate() and the BringToFront() methods.

    e.g.,
    m_mdiManager.TabGroups[ 0 ].MdiForms[ 0 ].Focus();

    or

    m_mdiManager.TabGroups[ 0 ].MdiForms[ 0 ].Activate();

    or

    m_mdiManager.TabGroups[ 0 ].MdiForms[ 0 ].BringToFront();

    Imported from legacy forums. Posted by CharlesB (had 317 views)

    User (Old forums)
    Member
    Post count: 23064

    sorry, it’s ok in latest version, but still not show image in tab.

    Imported from legacy forums. Posted by progame (had 5366 views)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.