in

C1 Community

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

C1NumericEdit don't inherits 'enabled'-state from container since 2007_3

Last post 04-11-2008 9:50 AM by pvlada. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-17-2007 1:36 PM

    C1NumericEdit don't inherits 'enabled'-state from container since 2007_3

    In the early times before 2007_3 I placed C1NumericEdits in a container, for instance a Win.Forms.Panel. When the panel was disabled, all contained controls were disabled too. When the panel have been enabled by code, all contained controls have been enabled too again.

    Since 2007_3 all C1NumericEdits stay disabled after enabling of their container. I have to enable them separately by code. And after this manual enabling they further look like disabled, because they stay in the color DisabledForeColor.

    Would it be possible to  rebuild the former inheritance of the enabled-state from the container again and to repair the proper look after enabling a C1Input control?

    !micha

  • 12-20-2007 5:34 PM In reply to

    Re: C1NumericEdit don't inherits 'enabled'-state from container since 2007_3

    I could not reproduce this. Attached is a sample which I tested against build 2.0.20073.33104 (available here). What am I missing?

    Cheers,
    Dima.
  • 01-09-2008 8:20 AM In reply to

    Re: C1NumericEdit don't inherits 'enabled'-state from container since 2007_3

    Hi Dima,

    we found the difference: When the panel or the C1Input control himself is enabled during the design phase and the project is compiled with this properties, everything is ok.

    But when the panel or the C1Input control is disabled by design and has to be enabled by code during runtime, this enabling will be unsuccessful.

    We could reproduce this with your sample too. Hope, this will be helpful for a repair.

    !micha

  • 04-11-2008 9:50 AM In reply to

    • pvlada
    • Not Ranked
    • Joined on 03-13-2008
    • Posts 1

    Re: C1NumericEdit don't inherits 'enabled'-state from container since 2007_3

    Any news on this? We just installed the latest controls and are experiencing the same issue. I understand that C1 has produced a fix for this, however you haven't made it public yet. When will this be properly released?

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