CONTROL ZORDER

Started by andrew, March 26, 2012, 12:02:01 PM

Previous topic - Next topic

andrew

i want to use a setfocus in my project, and in the helps it says not to put the codei nthe oninitialize event instead use the control zorder.

can anyone give me an example on how to use set focus with the z order im not quite getting it.

thanks

owenwengerd

A dialog sets the initial focus to the first control in the Z order, so just move your desired control to the top of the Z order, then the dialog handler will set the focus to that control for you.

andrew