in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Main Menu text disappears

Last post 04-14-2008 3:30 PM by diwalsh. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-09-2008 4:29 PM

    Main Menu text disappears

    This one is baffling me.... I have a VB.Net MDI application with a C1MainMenu. The application and main menu loads fine when I log in. When I open another workspace, minimize the main form while the workspace is loading then maximize it after it's loaded, the main menu text disappears.  It reappears when I click on one of the open forms or hit Ctrl-tab. Has anyone ever seen this before? If so, how do I fix it? I know that the menu is there as it's visible, but the commands on the menu are not shown. When I display the visible property of the links it reads that they are visible. I've tried updating and refreshing the menu to no avail.

    Any direction on this one would be greatly appreciated. Thanks!

    DW

  • 04-10-2008 5:17 PM In reply to

    Re: Main Menu text disappears

    Hi,
     
    Can you post a small sample or code snippet which can reproduce the said behavior? I tried to reproduce the said behavior in the attached sample, unfortunately could not replicate it. Please take a look at the attached sample and see if this helps. Please let me know which build of C1Command you are using.
     
    Regards,
    John Adams
     
    <diwalsh> wrote in message news:203665@10.0.1.98...

    This one is baffling me.... I have a VB.Net MDI application with a C1MainMenu. The application and main menu loads fine when I log in. When I open another workspace, minimize the main form while the workspace is loading then maximize it after it's loaded, the main menu text disappears.  It reappears when I click on one of the open forms or hit Ctrl-tab. Has anyone ever seen this before? If so, how do I fix it? I know that the menu is there as it's visible, but the commands on the menu are not shown. When I display the visible property of the links it reads that they are visible. I've tried updating and refreshing the menu to no avail.

    Any direction on this one would be greatly appreciated. Thanks!

    DW



    http://helpcentral.componentone.com/cs/forums/p/74892/203665.aspx#203665

  • 04-14-2008 3:30 PM In reply to

    Re: Main Menu text disappears

    John,

    I found the solution to the problem but forgot to post it. In the resize event of the form which occurs when I maximize after the minimize, I removed the main menu's commandLinks using the ".Clear" method and readded them. I'm not sure why they would have disappeared in the minimize, but that fixed the problem. It's off to be tested. If there is still a problem, I will repost.

    Thank you for your response.

    DW

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.