I'm trying to link my MDI child to the parent.
Although, there's no error when i run the program, but when i click the child form, there's no respond. I suspect the program cant read my child form or the name isn't correctly label.
In the mnuCarDetaila menu click event you have not written any code
that's why no action taken when you click menu 'Group A '. I think you have change the menu name after you had write code. Becoz I found the code for loading form in 'CarDetaila' menu click event, which is not exist in you menu items. Please check the menu names and code for menu click event.
Also be sure that the forms you are loading on menu click must be added in the project.
In the mnuCarDetaila menu click event you have not written any code
that's why no action taken when you click menu 'Group A '. I think you have change the menu name after you had write code. Becoz I found the code for loading form in 'CarDetaila' menu click event, which is not exist in you menu items. Please check the menu names and code for menu click event.
Also be sure that the forms you are loading on menu click must be added in the project.
Hi CHAMPGARY,
Thanks for the reply.
Can u explain furthur wat type of code do i need to write.
I'm sorry... I dint notice the mistake in your code...
just move the CarDetaila_Click event's code to mnuCarDetaila_Click event
Ok .. thks ganeshmoorthy and CHAMPGARY. I think i got it.
But initally i change both names to cardetaila, it prompt me an error member or data methods not found.
Pardon me, do i have to put a mnu in front of my form?
Thanks for the reply.
Can u explain furthur wat type of code do i need to write.
For that
copy your code from the CarDetaila_Click() and paste it into
mnuCarDetaila_Click()
I have made changes in main form and attached with this.
Have a look.
Don't unload each form in menu click event. You unload all the forms in 'Exit' menu click event. That is ideal. If you really want to do so use
for loop for that.
It is not mandatory to put mnu with the menu name, but is suggested and this is what called as naming conventions. on seeing the sub itself you can determine that this is menu event.
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.