web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to set a resource image file in imagecontrol in a form

(0) ShareShare
ReportReport
Posted on by 454

Hi,

I need to set an image file from resource node to an imagecontrol in a form , I need a x++code for that. 

My Imagecontrol name is 'Status'. 

Thanks in Advance,

Ram 

I have the same question (0)
  • Suggested answer
    Crispin John Augustine Profile Picture
    37,081 on at

    You can use a Window control, and set the image resource property, without a single line of code.

    If you wish to set from code, you can set it by the controlName.imageResource()

  • Ram Kumar Profile Picture
    454 on at

    Hi Crispin,

    I am having 3 fields in form Name and status  and 3rd one is Access. If the status is Active the image control have to set with a Tick Symbol. If the Status is Inactive means it set to (X) cross symbol in imagecontrol . I need code to do that.

    Regards,

    Ram

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans