Fri, 11 Oct 2019 10:27:41 GMT
–
Dynamics 365 Business Central
–
Under Review
In implementations where Barcode scanners are used (not necessarily the mobile one, but "keyboard" one) like POS, or where user needs quickly start typing the data, developer needs to be able to set focus on specific textbox. There are two parts of this:
1) Set active textbox after the page is opened (may be property on the page?)
2) Set text box focus dynamically from AL (e.g. based on scanned barcode in one textbox, the focus moves to filed A or B based on the value, where user continues in entering the related data). This could be e.g. done through CurrPage.FieldName.SetFocus()
Setting focus helps partner to create easy and stable dataflow on the page for the enduser, which could be dynamic.