Not found CheckBoxColor property which is introduced in the 2020V1

Posted by: mtashildar on 8 April 2020, 4:14 am EST

    • Post Options:
    • Link

    Posted 8 April 2020, 4:14 am EST

    I am not able to find the CheckBoxColor property which is introduced in the 2020V1 release for C1MultiSelect, C1TreeView and C1CheckList.

    Please show with example

    Why not this CheckBoxColor property is introduced for C1TrueDBGrid checkbox columns.

    It is most required than anywhere else.

    Because the grid looks too ugly with current checkboxes (checked and unchecked)

    Regards

    Mahesh

  • Posted 8 April 2020, 7:08 pm EST

    Hi Mahesh,

    >> I am not able to find the CheckBoxColor property which is introduced in the 2020V1 release for C1MultiSelect, C1TreeView, and C1CheckList.

    This has been replied on the given link:

    https://www.grapecity.com/forums/winforms-edition/changing-c1checklist-check#hi-maheshto-learn-how-to-s

    >>Why not this CheckBoxColor property is introduced for C1TrueDBGrid checkbox columns.



    You can use the ValueItems property of TrueDBGrid to achieve the same as I have done in the attached sample given below.

    Note: You can use your Checked/Unchecked images as per your need.

    Regards,

    Prabhat Sharma.

    TDBCheckBoxColor.zip

  • Posted 8 April 2020, 8:40 pm EST

    Hi Prabhat,

    Thanks for the prompt reply.

    I saw C1MultiSelect and C1CheckList sample provided by you and its OK but CheckBoxColor property is not enough becuase it doesn’t create good visual effect.

    Actually there should have been CheckBoxStyle and CheckBoxPicture properties as well.

    (C1TreeView not yet seen for CheckBoxColor and CheckBoxStyle )

    In case of TrueDBGrid the sample you provided is known to me and it has one drawback that it makes entire cell clickable instead of only the checkbox.

    Which is not acceptable and risky as well. (in case of extra wide cell)

    My requirement is, all the three properties must be there (CheckBoxColor, CheckBoxStyle and CheckBoxPicture ) for the C1TrueDBGrid checkbox columns and for all other controls having checkboxes.

    The reason is simple that current checkboxes looks too ugly and sometimes confusing.

    Is it possible to achieve this by applying the VisualStyle property of the TrueDBGrid?

    Regards

    Mahesh

  • Posted 13 April 2020, 12:54 am EST

    Hi Mahesh,

    We have forwarded your request to the developers for CheckBoxColor, CheckBoxStyle and CheckBoxPicture properties for C1TrueDBGrid and C1CheckList and will let you know once we get any updates regarding this from the developers end.

    [Internal Tracking ID: 430977, 403978]



    If you want this for any other control then please let us know.

    Regards,

    Prabhat Sharma.

  • Posted 14 April 2020, 2:49 am EST

    Hi Prabhat,

    Thanks for the reply.

    As you asked, I would like to suggest the following properties:

    CheckBoxColor,

    CheckBoxStyle,

    CheckBoxPicture,

    CheckBoxSize (options: Default, Small, ExtraSmall, Large, ExtraLarge)

    All the above four properties must be available for the following controls:

    C1TrueDBGrid,

    C1TreeView,

    C1CheckList,

    C1MultiSelect,

    and all other controls having checkbox.

    You haven’t answered the following question:

    Is it possible to change look of a checkbox by applying the VisualStyle property of the TrueDBGrid?

    Regards

    Mahesh

  • Posted 14 April 2020, 9:47 pm EST

    Hi Mahesh,

    I have updated your request regarding the checkboxes to the developers.

    >>Is it possible to change the look of a checkbox by applying the VisualStyle property of the TrueDBGrid?

    Sorry, but it is not possible that is why I have requested the CheckBoxStyle property for TrueDBGrid.

    Regards,

    Prabhat Sharma.

  • Posted 11 August 2020, 7:22 pm EST

    Hello,

    CheckImageList property is added for the image list that is used to indicate the state of C1CheckList items in the 2020V2 release.

    You can download the builds from the given link:

    http://prerelease.componentone.com/dotnet452/c1winform/2020-t2/C1WinForms-452_4.5.20202.438.zip

    Regards,

    Prabhat Sharma.

  • Posted 16 August 2020, 6:53 pm EST

    Hello,

    Please mention the control names for which CheckImageList property is added.

    I was more expecting it in TrueDBGrid control (for a checkbox column).

    Regards,

    Mahesh

  • Posted 17 August 2020, 4:26 pm EST

    Hello,

    >>Please mention the control names for which CheckImageList property is added.

    This property has been added in the C1CheckList class so this can be used with the C1CheckList and C1MultiSelect controls.

    >>I was more expecting it in TrueDBGrid control (for a checkbox column).

    I am getting in touch with the developers regarding adding this property in the TrueDBGrid and will let you know once we get any updates on this from their end.

    Regards,

    Prabhat Sharma.

  • Posted 23 August 2020, 6:52 pm EST

    Hello,

    As per the developers, it is not possible for now to add this feature in TrueDBGrid but they have shared a workaround sample to show how you can use custom checkboxes in the TrueDBGrid. Please have a look.

    Regards,

    Prabhat Sharma.

    TrueDBGrid_checkboxes.zip

  • Posted 29 August 2020, 9:42 pm EST

    Hi,

    Checked the workaround sample, but it doesn’t work consistently.

    Issues are:

    1. Some times you have to click twice, trice to change the state of check box (I mean image).

    2. Row in edit mode indicator doesn’t appear but image gets changed.

    3. If clicked on another row’s checkbox image then it changes the state sometimes and sometimes not.

    I think developer team should add this feature to TrueDBGrid on top priority, not because of my need but in today’s most of the apps checkbox has not remain only three state indicator (i.e. checked, unchecked, indermined) but having checkboxes with different images serves many other purposes too.

    Regards,

    Mahesh

  • Posted 30 August 2020, 8:45 pm EST

    Hello,

    We have forwarded your comments to the developers and will let you know once we get any update on this from their end.

    Regards,

    Prabhat Sharma.

  • Posted 6 September 2020, 10:08 pm EST

    Hello,

    Please find the modified sample given from the developers and let us know if this helps or not.

    Regards,

    Prabhat Sharma.

    TrueDBGridCheckBoxes_fixed.zip

  • Posted 9 September 2020, 7:27 pm EST

    Hi,

    Thanks for the modified sample.

    It’s bit improved, but it still doesn’t work consistently.

    Issues are:

    1. We can’t use space-bar to change the state of custom check box (I mean image),

      as we can use space-bar to change the default checkbox.

    2. Row-edit-mode indicator doesn’t appear if clicked on the image.

    Has developer team decided anything about making image list available for TrudDBGrid checkbox columns as a default functionality?

    Regards,

    Mahesh

  • Posted 10 September 2020, 5:41 pm EST

    Hello,

    We have forwarded your comments to the developers and will let you know once we get any update on this from their end.

    Regards,

    Prabhat Sharma.

  • Posted 13 September 2020, 5:10 pm EST

    Hello,

    Please find the modified sample given from the developers and let us know if this helps or not.

    >>Has developer team decided anything about making image list available for TrudDBGrid checkbox columns as a default functionality?

    Sorry but as I said earlier that as per the developers, it is not possible for now to add this feature in TrueDBGrid.

    Regards,

    Prabhat Sharma.

    C1TrueDBGrid_checkboxes_2.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels