Hi,
In old ABL frame, we have "wait-for...focus..." statement that when the frame/window is displayed, a field can be in focus automatically. Now I embed the the ABL window into a .NET form using Progress Window Container, but I don't know how to set focus to the first field on the ABL window.
Can anybody shed some light please?
Thanks
Generally the
APPLY "ENTRY" TO IN FRAME .
should work fine. I just tried it in a sample with an embedded window that's not part of the
WAIT-FOR System.Windows.Forms.Application:Run (oForm).
I typically use new .NET Forms as the main menu and run the embedded .w's from there. When APPLY ENTRY won't work just before the WAIT-FOR Application:Run, try to execute the APPLY ENTRY from the Load or Shown event handler of the .NET Form.