E
Edz
I am having trouble creating a context menu for my .NET CF 1.0
application.
The .NET Compact Framework installed on my device is of version
1.0.4292.00.
I understand what needs to be done code wise but the context menu is
just not appearing when I tap and hold on the control which it was
linked to.
In my windows form, I have attached a context menu:
this.ContextMenu = this.contextMenu1;
And to my context menu, I have added menu items:
this.contextMenu1.MenuItems.Add(this.menuItem1);
this.contextMenu1.MenuItems.Add(this.menuItem2);
this.contextMenu1.Popup += new System.EventHandler(this.testme);
However when I run this on the device, not even the dots in a circle
appear when I hold down on the form.
I have also experiemented with attaching the context menu to other
controls, like text boxes -but to no avail.
Has anyone been able to successfully get a .NET CF 1.0 application come
up with the context menu?
application.
The .NET Compact Framework installed on my device is of version
1.0.4292.00.
I understand what needs to be done code wise but the context menu is
just not appearing when I tap and hold on the control which it was
linked to.
In my windows form, I have attached a context menu:
this.ContextMenu = this.contextMenu1;
And to my context menu, I have added menu items:
this.contextMenu1.MenuItems.Add(this.menuItem1);
this.contextMenu1.MenuItems.Add(this.menuItem2);
this.contextMenu1.Popup += new System.EventHandler(this.testme);
However when I run this on the device, not even the dots in a circle
appear when I hold down on the form.
I have also experiemented with attaching the context menu to other
controls, like text boxes -but to no avail.
Has anyone been able to successfully get a .NET CF 1.0 application come
up with the context menu?