View Single Post
  #19 (permalink)  
Old March 8th, 2006, 08:04 AM
saravanan_article saravanan_article is offline
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Vinay and Ragavendra,

I am using Flexgrid in C#.. I want to place a checkboxes in that.. I tried to handle the "ClickEvent" Event of flexgrid and wrote the following code

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.Left = axMSFlexGrid1.Left + axMSFlexGrid1.CellLeft;
                    chkSelect.Top = axMSFlexGrid1.Top + axMSFlexGrid1.CellTop;
                    if(axMSFlexGrid1.Text == "Selected")
                    {
                        chkSelect.Text ="1";
                    }
                    else
                    {
                        chkSelect.Text = "0";
                    }

                    chkSelect.Focus();
                    chkSelect.Visible = true;
                    break;

            }

but its not showing me the checkboxes.. Will u please correct the problem if any and give me a solution for that... Please its very urgent

Bye

Regards
Saravanan

Reply With Quote