Set Focus on RMA Processing Detail tab textbox

I have been asked to set the focus on the Part/Rev textbox when adding a new detail record using RMA Processing. It seems that no matter how I set the focus, once the screen is displayed it sets the focus to the Legal Number textbox. I have tried every combination of Form Events, Tab Stops and Indexes, and it seems to ignore them all when the screen is finally presented. Anyone had to do something like this before? Thanks.

Did you Try RMAProcForm.ActiveControl = txtPartNum in the Form Load?

1 Like

Unfortunately the form load happens well before a detail line is added. It would be good if I could figure out which event to set the active control from after the detail line is created.

Oh duh! Sorry, you’re right… that doesn’t make sense to put it under Form load. Can you use the EpiViewNotification for the RMADtl view for an added row?

I tried that but the form seems to “reset” everything once it has loaded. I have stepped through the code and can’t seem to find a callable event that happens after the form has fully loaded.