how to get Childlist of a Control ?

how to get Childlist of a Control ?

Postby Jimmy » Thu Feb 29, 2024 12:02 am

hi,

from TWindows() i can get a Childlist of all Controls
Code: Select all  Expand view  RUN
  oWnd:aControls

but how to get Childlist of a single Control when have Child :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: how to get Childlist of a Control ?

Postby Antonio Linares » Thu Feb 29, 2024 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: how to get Childlist of a Control ?

Postby Jimmy » Thu Feb 29, 2024 5: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
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 23 guests