Notifications
Announcements
No record found.
Hi All,
when we create a class extends Runbase and override dalog() method,
we can add fields on the dialog but I wonder how to add fields side by side on the dialog as a fixed position.
For example, we add a field on the left and add a toggle on the right and depending on the toggle you can add a field value or not.
Thank you.
Hi ShawnDEV,
You can use DialogGroup and define the number of columns. You can then add the dialog fields under the group. This will ensure that the fields are side by side.
You can check this post as an example.
Hi,
On top of it, is there a way to present field label next to the field in the dialog?
Hi Hi ShawnDEV,,
Not sure what you mean by that. Could you please share a screenshot to show where you need the label to be?
Hi ShawnDev,
Please, take into account that UI layout is controlled by the system itself, and trying to make custom looking dialog could become an issue in the future.
Also, for such kind of dialogs, I recommend using own form instead of building dialog in x++. It's much easier to build a custom dialog form in the designer (if it's not just a field). There are many examples in the system of how it can be done and you can find examples by cross-references for method Dialog::newFormnameRunbase.
Well at this moment, the label is shown above the field in the dialog.
But I want to show the label next to the field like below.
Is there a way to present it in this way?
There was a similar discussion about label position and it was unresolved. The Label position property doesn't work anymore (for me) and maybe it was depreciated or works only in certain form patterns.
community.dynamics.com/.../890113
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 544 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader