Handing DataGridView Events inside a TabPage

G

Guest

Hi,

I have a tab control that contains tabs with DataGridView controls.

I can't seem to get the events for the DataGridView control to fire...

For example the CellContextMenuStripNeeded event.

Is there a way to get access to the events fired by tabpage child controls?
 
A

Albert D. Kallal

I was not aware that placing a control in a tab page makes any difference.

With standard access controls...the fact of them on a tab control, or not
does not change their events, or even how you reference the controls.

I would certainly consider using a continues form in place of a grid
control...as it is more reliable, no activiex controls need be installed...

and, the results are usually very similar anyway..

here is some screen shots of what I mean:

http://www.members.shaw.ca/AlbertKallal/Articles/Grid.htm

if removing your activeX control out of the tab makes it work, then perhaps
there is some compatibility issue here, but, I really don't know...
 
G

Guest

Sorry Albert, I posted this to the wrong discussion group by mistake. I am
not using Access. I intended to post it to the windows forms discussion
group. I have also posted it there.

Sorry to waste your time
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top