0

Hello guys, I am new to vb programming. Can anyone tell me how to access command button of one form onto another?

I have one mdiParent form on which i have command button "PRINT" and "Add New Client", I want to disable Print button, when i clicked on "Add New Client Button".
Thanks in advance!!!

3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by Amiet Mhaske
0

Hi,

Write this in "Add New" event:

MDIParent.cmdPrint.Enable = False

Later on dont forget to Enable it...

Regards
Veena

0

Hi,

Write this in "Add New" event:

MDIParent.cmdPrint.Enable = False

Later on dont forget to Enable it...

Regards
Veena

Veena and WaltP you guys are awesome. That code worked well for me. Thanks so much guys!!!!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.