We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Checkbox in GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

17928 Aug 19,2004 11:48 AM Aug 20,2004 12:39 PM Windows Forms 2
loading
Tags: GridControl
Jay K
Asked On August 19, 2004 11:48 AM

Hi, I have 2 requirements : 1. Hide the borders of the checkbox in a cell with a checkbox in it. ( I just want the check mark or blank) 2. Set a color to the check mark in the checkbox. Are they feasible - if so how ? Any help is appreciated. Jay

Administrator [Syncfusion]
Replied On August 19, 2004 12:18 PM

I don''t think there is any reason to try to do this with a CheckBox. It would be simpler just to display a bitmap of the check you want to see in the color you want to see it. You can do this handling grid events. Here is a little sample. ComboRelations_6272.zip You could also derive a custon cell control to do this. Or, you could handle the CurrentCellDrawn event, and draw a new bitmap over the default checkbox. I am sure there are other ways to do this as well.

Jay K
Replied On August 20, 2004 12:39 PM

That worked. Thanks. >I don''t think there is any reason to try to do this with a CheckBox. It would be simpler just to display a bitmap of the check you want to see in the color you want to see it. You can do this handling grid events. Here is a little sample. > >ComboRelations_6272.zip > >You could also derive a custon cell control to do this. Or, you could handle the CurrentCellDrawn event, and draw a new bitmap over the default checkbox. I am sure there are other ways to do this as well. > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;