Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Context menu in a embedded class?
Context menu in a embedded class? [message #19528] |
Thu, 11 December 2008 19:23  |
kbyte
Messages: 87 Registered: July 2008
|
Member |
|
|
Hi,
I have this code:
Class x:
tabdlg.dbgrid1.AddColumn("ID");
tabdlg.dbgrid1.AddColumn("Date");
tabdlg.dbgrid1.AddColumn("Value");
tabdlg.dbgrid1.AddColumn("Paid");
tabdlg.dbgrid1.ColumnWidths("0 50 50 200");
tabdlg.dbgrid1.WhenLeftDouble = THISBACK(OnAnuidDBClick);
tabdlg is a member of the class x. It is also defined in the .h of the class x like this:
class CTablDlg : public WithPaidLayout<TopWindow> {
typedef CTablDlg CLASSNAME;
public:
CTablDlg();
};
Is it possible to trap the context menu event of this dbgrid as I trap the left dbclick? How?
Thanks
Alex
|
|
|
Goto Forum:
Current Time: Mon Apr 28 01:15:30 CEST 2025
Total time taken to generate the page: 0.00825 seconds
|