how do i disable column header context menu in a subform

newtoaccess10

New member
Local time
Today, 12:40
Joined
Aug 25, 2011
Messages
2
hi to everyone,
i have a question, lets just say i have a subform named Child0 and the source object name is Contacts, i set the default view of Contacts to Datasheet view, now when i open the main form with Child0 as my subform, i wanted to disable the the menu that pops up when i right click on the Contact column header, i wanted this to be disabled because i built my customized context menu w/c only appears if i right click on one of the fields not on the column headers of the subform/Contacts..

The reason i did this because i wanted to control the events when i hide/unhide the columns on the subform/Contacts...

thanks you...
 
I already got the answer...
Application.CommandBars("Form Datasheet Subcolumn").Enabled = False
Thank you...
 

Users who are viewing this thread

Back
Top Bottom