Author Topic: Get the Current Focus of a Dialog  (Read 604 times)

Mike Dennis

  • Member
  • *
  • Posts: 10
Get the Current Focus of a Dialog
« 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

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3074
    • Outside The Box
Re: Get the Current Focus of a Dialog
« Reply #1 on: February 20, 2022, 07:25:50 AM »
(dcl-GetFocus) is the correct function.

Mike Dennis

  • Member
  • *
  • Posts: 10
Re: Get the Current Focus of a Dialog
« Reply #2 on: February 25, 2022, 07:36:05 PM »
Thanks