Ticket Q136285
Visible to All Users

cxImage - how to get filename from popup image menu

created 16 years ago

hi,
i assigned a unbound column in a grid and made its type as image. On click of right button, on pop up menu, i clicked, Load from file and then it shows the image. Till this pint everything is working fine.
My question is, i want to get/extract name of the file which i loaded and then save it to table.
How i can achieve this?
Thanks in advance,
Parv

Show previous comments (2)
DevExpress Support Team 16 years ago

    Hello,
    Thank you for the additional clarification
    Unfortunately the TcxImage doesn't provide this functionality.
    The name of a loaded file is in TcxCustomImage.LoadFromFile function, but you can't override this function.
    Thanks,
    Vlad

      Oh, so there is no way I can get the file name. Do you suggest any other way/functionality to achieve/get the file name?
      Would you like to add this feature in future releases?
      Thanks,
      Parv

      DevExpress Support Team 16 years ago

        Hello,
        You can assign the custom menu to the TcxImage by using the PopupMenu property and to process pressing its items.
        You can also create new suggestions. And if users become interested this feature we will add it in the future.
        Thanks,
        Vlad

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.