I was wondering is there a way to set the tab order at run time instead of design time? This is crucial as at initialisation some fields are being hidden or rearranged in the dialog.
You can use the Win32 API to achieve this:
SetWindowPos(hNewControl, hOldControl, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
See this question for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With