FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to get Childlist of a Control ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
how to get Childlist of a Control ?
Posted: Thu Feb 29, 2024 12:02 AM
hi,

from TWindows() i can get a Childlist of all Controls
Code (fw): Select all Collapse
   oWnd:aControls
but how to get Childlist of a single Control when have Child :?:
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how to get Childlist of a Control ?
Posted: Thu Feb 29, 2024 05:06 AM

Dear Jimmy,

EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum

In previous FWH builds, .T. is used by default

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: how to get Childlist of a Control ?
Posted: Thu Feb 29, 2024 05:31 AM
hi Antonio,
Antonio Linares wrote: EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum
In previous FWH builds, .T. is used by default
ok, understand
THX
greeting,

Jimmy

Continue the discussion