context menu in child form
-
hai all, I am using one context menu in parent form, whereever i am clicking on the form ,the context menu is appearing, now, my problem is i am adding a child form in Mdi, child form contains one datagrid, if i am clicking on column header of datagrid ,a new context menu should display not the one in the parent form context menu. ya its coming,but again i am clicking whereever in the form(except coumn header) in child form, the parent form context menu is not appering, please help me how to do, i am new to programming field thanks in advance.. faizal
ksf
-
hai all, I am using one context menu in parent form, whereever i am clicking on the form ,the context menu is appearing, now, my problem is i am adding a child form in Mdi, child form contains one datagrid, if i am clicking on column header of datagrid ,a new context menu should display not the one in the parent form context menu. ya its coming,but again i am clicking whereever in the form(except coumn header) in child form, the parent form context menu is not appering, please help me how to do, i am new to programming field thanks in advance.. faizal
ksf
faiznasi wrote:
the parent form context menu is not appering, please help me how to do, i am new to programming field
I am not getting how you are expecting parent context menu to appear when clicking on child form ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
faiznasi wrote:
the parent form context menu is not appering, please help me how to do, i am new to programming field
I am not getting how you are expecting parent context menu to appear when clicking on child form ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
hai navaneeth, I created one context menu and added into a parent from(parentMdi) properties, after that i am adding one child form to that parent mdi page. (the child is loaded into parent form) where ever i am clicking the parent form context menu is apperring, but i need to hide the context menu if i am clicking datagrid column header of child form(for that, in mouse down evnt of datagrid in child form, i wrote a code, if it is column header ,i am making a static variable to 1 and pass that variable to parent child and making as invissble, ya its working) one i hitted in datagrid column header, the parent contextmenu is disappearing, now my problem is if i am again clicking on the form(the parent form context menu should appear) its not appering, i think now u r understod my problem,, please suggest me how to do thanks and regards faizal
ksf
-
hai navaneeth, I created one context menu and added into a parent from(parentMdi) properties, after that i am adding one child form to that parent mdi page. (the child is loaded into parent form) where ever i am clicking the parent form context menu is apperring, but i need to hide the context menu if i am clicking datagrid column header of child form(for that, in mouse down evnt of datagrid in child form, i wrote a code, if it is column header ,i am making a static variable to 1 and pass that variable to parent child and making as invissble, ya its working) one i hitted in datagrid column header, the parent contextmenu is disappearing, now my problem is if i am again clicking on the form(the parent form context menu should appear) its not appering, i think now u r understod my problem,, please suggest me how to do thanks and regards faizal
ksf