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.

Toggle checkbox state with space bar

Thread ID:

Created:

Updated:

Platform:

Replies:

7714 Oct 7,2003 09:24 AM Oct 7,2003 12:05 PM Windows Forms 2
loading
Tags: GridControl
James
Asked On October 7, 2003 09:24 AM

Hi, I am using checkbox in one column of the grid. It is enabled, TriState is set to false and ThemesEnabled is set to true. It runs fine and checkbox looks like XP style since I created a manifest file. However, when the checkbox is active I can only change its state by clicking on it. Press space bar does not toggle the state. Did I forget to set something. Here is part of the code: this.gridControl1[1,1].CellValue = false; this.gridControl1[1,1].CellType = "CheckBox"; this.gridControl1[1,1].TriState = false; this.gridControl1[1,1].Enabled = true; Thanks! James

Administrator [Syncfusion]
Replied On October 7, 2003 11:12 AM

This sounds odd. You should be able to change its state with the keyboard. Is an exception thrown anywhere? Check out also the CheckBoxOptions. Are they setup correctly? What if you change .CellValue = false; to .CellValue = "0"? Stefan

James
Replied On October 7, 2003 12:05 PM

Found the problem. It was caused by my CurrentCellKeyPress event handler. Sorry about that.

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.

;