in

C1 Community

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

Latest Build Changes Background Color in MDI Parent

Last post 05-20-2008 11:13 AM by C1_AndreyD. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-19-2008 5:54 PM

    Latest Build Changes Background Color in MDI Parent

    Hi

     Steps to reproduce:

    1.New Project, new Form inheriting C1RibbonForm. Add Ribbon, set UI Style Office07 Blue (default) 2.Launch -> Color of Backgorund is blue as it should.

    3. Set isMdiParent on Form to true

    4.Designer Shows grey backgorund (correct)

    5.Launch -> Background color is blue. In the last version i used till i was testing on vista: 2.0072.73

    Workaround: -none found, tried changing in LoadHandler: Color is already set correctly, but not displayed correctly. I want to use Color.KnownColor.AppWorkspace

     Request: What about the dateTimePicker and Contextual Tabs? Waiting for the for one year now... It *** we cant inherit C1RibbonItem and create our own Controls... would be so easy if c# would allow multiple inheritance (well, basically) --> myDateTimePicker : C1RibbonItem, System.Windows.Forms.DateTimePicker :-)

  • 05-19-2008 10:32 PM In reply to

    Re: Latest Build Changes Background Color in MDI Parent

    Hi,

    The issue must be fixed in the next build:

    http://download3.componentone.com/pub/Net/c1ribbon/misc/C1Ribbon.2_2.0.20082.95.zip

    >
    > Request: What about the dateTimePicker and Contextual Tabs?

    The dateTimePicker will be added soon. The Context Tabs will
    hardly be added very soon.

    > It *** we cant inherit C1RibbonItem and create our own Controls... would be so
    > easy if c# would allow multiple inheritance (well, basically) --> myDateTimePicker :
    > C1RibbonItem, System.Windows.Forms.DateTimePicker :-)

    As a temporary solution, you may embed the standard DateTimePicker
    control into the RibbonControlHost and use it on the ribbon.

    Thanks.

    -Andrey
  • 05-20-2008 9:55 AM In reply to

    Re: Latest Build Changes Background Color in MDI Parent

    C1_AndreyD:

    Thanks, the issue is fixed.

    C1_AndreyD:

    The dateTimePicker will be added soon. The Context Tabs will
    hardly be added very soon.


    As a temporary solution, you may embed the standard DateTimePicker
    control into the RibbonControlHost and use it on the ribbon.

    Thanks.

    -Andrey

     Thanks a lot, i didnt know this was possible. Might fix a lot of my problems. Currently im playing with the example given in the Donwload Section.The Application works fine and i can add a component inheriting from RibbonControlHost no problem. However the Component Designer for my own and even for the ones that were provided by you isnt available (is this wanted?)

    I keep getting the following error:

    "Constructor on type 'C1.Win.C1Ribbon.RibbonControlHost' not found. "

    Is this a designer issue? Well of course i dont need to have the graphical component designer as the code suffices my needs. A TestComponent i created however can be sucessfully added to the form.

  • 05-20-2008 11:13 AM In reply to

    Re: Latest Build Changes Background Color in MDI Parent

    > I keep getting the following error:
    >
    > "Constructor on type 'C1.Win.C1Ribbon.RibbonControlHost' not found. "

    Yes, the RibbonControlHost class doesn't have a public constructor
    without arguments. This small issue will be fixed in the next build.

    Thanks.

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