1

In cxGrid,when right clicking inside a blob field with your right mouse button you get the standard popup menu :

enter image description here

How can I remove the "Assign from camera option" ? I know there used to be such an option but now I can not find it anywhere. DevExpress is 14.2.2.

Edit:

Here are the settings of the field in question :

enter image description here

And here how it looks in action:

enter image description here

user763539
  • 3,509
  • 6
  • 44
  • 103
  • 2
    I can agree with deciding not to up-vote, but I don't understand the decision for someone to down-vote this question. This is a decent question - not knowing the answer is no excuse for a down-vote. One should at least explain their reasoning. – Jerry Dodge Sep 27 '15 at 05:25
  • 1
    Why not ask the vendor? It seems to me that they are best placed to answer. – David Heffernan Sep 28 '15 at 07:10

1 Answers1

-1

The popup menu is not relates to a blob field. It is releated to a TcxImage. So the popup menu will appear on a TcxImage component and on any Column in a TcxGrid on which you sat the Propertiesproperty to Image.

Given that the answer is more or less the same:

On a TCxGrid Find the correct Column, then goto properties => PopupMenuLayout => MenuItems, and here you remove the unwanted menu items. The "Assign from camera option" is called pmiWebCam.

Hope this answers you question.

Jens Borrisholt
  • 6,174
  • 1
  • 33
  • 67
  • Properties = BlobEdit , BlobEditKind=bekPict ...However I do not have the PopupMenuLayout option under properties for that field. – user763539 Sep 27 '15 at 17:52
  • It seems to have this option I must change Properties to that of "Image" and not BlobEdit. – user763539 Sep 27 '15 at 18:10
  • Else you'll have to make a minimum complete verifiable example. Because when I try to set the properties to BlobEdit, the popupControl is nill. – Jens Borrisholt Sep 27 '15 at 18:26
  • @ Jens Borrisholt - yes,that's what I was saying. If the field is defined as Properties = BlobEdit then there is no PopupMenuLayout option. It only appears when Properties = Image. So it seems the only way I can remove this "assign from camera" option is to turn the properties to image. The problem is that then I would need this picture to show in its natural height when clicked but it has no such property to automatically pop up. – user763539 Sep 27 '15 at 22:13
  • Make me an example showing the problem with BlobEdit and I'll have a look – Jens Borrisholt Sep 28 '15 at 03:30
  • @user763539, as David already mentioned you should probably ask that on the DevExpress support center. – Uli Gerhardt Sep 28 '15 at 08:21
  • Or just make me an example. – Jens Borrisholt Sep 28 '15 at 08:32