Make a sheet the default in a customised form

Is it possible to customise a form so that a particular sheet is active when a form is opened?

This might set you in the right direction.

1 Like

You can set the focus to a sheet when you open the form by adding a couple of lines of code to the form load. Obviously replace the panel name and guid to suite your relevant form.

Erp.UI.App.PartEntry.PartDetailPanel PartDetailPanel = (Erp.UI.App.PartEntry.PartDetailPanel)csm.GetNativeControlReference("559eacf6-20c9-4e2d-b777-99a8823adcd6");

PartDetailPanel.Focus();
5 Likes