Hi
Arsalan Noor,
Open the window in the AppBuilder, select the frame within the window and from the AppBuilders menu bar select Edit -> Tab Order... then move the widgets around so that the
tab order is what you want (i.e. the CustNum fill-in is first). This will set that fill-in to get the focus when the window is opened.
Select the CustNum fill-in field then press Ctrl+S to open the Section Editor. Click the “New...” button. Click the “Keyboard Event...” button then press the enter/return
key (this will set the event name to “RETURN”. Press the “OK” button. Press the “OK” button again. You now have an ON RETURN OF <fill-in> code section defined. Between the DO/END block add code like this:
APPLY “CHOOSE” to <your button name goes here>.
That should do it.
Brian