OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on March 26, 2012, 12:02:01 PM

Title: CONTROL ZORDER
Post by: andrew on March 26, 2012, 12:02:01 PM
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
Title: Re: CONTROL ZORDER
Post by: owenwengerd on March 26, 2012, 08:01:31 PM
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.
Title: Re: CONTROL ZORDER
Post by: andrew on March 27, 2012, 10:36:46 AM
got it.

thanks Owen