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, ...
Unanswered

Buttons with an image float on form using C#

(0) ShareShare
ReportReport
Posted on by 75,850 Moderator

I created a Dynamics GP winform and I want to place a button with an image of a magnifying glass. In design mode everything is lined up. However, when I execute the code the magnifying glasses move to the middle of the screen. How do i prevent this?

POLookup.png

Categories:
I have the same question (0)
  • Justin Sutton Profile Picture
    on at

    Hi Richard,

    This is a great question that I will leave out here for the community.

  • Andrew John Dean Profile Picture
    1,337 on at

    Hi Richard

    Can you provide a snippet of your code so I can review it for you.

  • Richard Wheeler Profile Picture
    75,850 Moderator on at

    Andrew, I actually gave up on the code for this since nothing worked. All the forms are defined as

    public partial class frmViewJobLinkerOpenstributions : DexUIForm

    What I have is simply set the properties of location to be offset in design view and then when I run the code it brings them down and to the left. The buttons are inside a group box and the problem is I cannot make them part of the group box.

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... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans