Help needed with CheckBoxes
Hi teams,
This is saravanan, I am working in Bangalore,India. I have some problem in inserting a checkboxes on the flexgrid. I am using C#.Here some piece of code i tried
switch(axMSFlexGrid1.Col)
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
MessageBox.Show("CilcikeD");
break;
case 8:
chkSelect.Visible = true;
chkSelect.Show();
chkSelect.BringToFront();
chkSelect.Left = axMSFlexGrid1.Left + axMSFlexGrid1.CellLeft;
chkSelect.Top = axMSFlexGrid1.Top + axMSFlexGrid1.CellTop;
// if(axMSFlexGrid1.Text == "0")
// {
// chkSelect.Text ="1";
// }
// else
// {
// chkSelect.Text = "0";
// }
chkSelect.Focus();
chkSelect.Visible = true;
break;
}
I wrote this code in ClickEvent of flexgrid... Any thing wrong in this?? Please reply me with ur answer.. CheckBox is a one of the control in the form
Thanks in advance
Reply me back
|