OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Mike Dennis on February 18, 2022, 03:51:51 PM

Title: Get the Current Focus of a Dialog
Post by: Mike Dennis on February 18, 2022, 03:51:51 PM
Hi,

Probably haven't looked long enough, so sorry if I'm missing something staring me in the face.

I would like to "get the name of a control" that has the current focus on a tab-strip dialog.

I saw (dcl-GetFocus) with no arguments, but that gives me an error.

Thanks for any help,
Mike Dennis
Title: Re: Get the Current Focus of a Dialog
Post by: owenwengerd on February 20, 2022, 07:25:50 AM
(dcl-GetFocus) is the correct function.
Title: Re: Get the Current Focus of a Dialog
Post by: Mike Dennis on February 25, 2022, 07:36:05 PM
Thanks