Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: List of buttons (controls) in window Date: Sun, 10 Dec 2017 11:32:35 +0100 Lines: 23 Message-ID: References: <011e8257-ff1b-4eb6-a7c1-14462895ecdf@googlegroups.com> <42182560-82c2-4e81-86b0-8b5864a32f12@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net gw2xmmwFG3lmP966klyNzwsoQ8RyxnDTV3jiEYwDVk9MYoA7I= Cancel-Lock: sha1:iAlyzqNvCSbvBXm/ow+IlSThl1c= In-Reply-To: <42182560-82c2-4e81-86b0-8b5864a32f12@googlegroups.com> X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 Xref: csiph.com comp.lang.clipper.visual-objects:11229 Hi Grzegorz, > So guys... > news are two - one bad and one good: > > Jamal idea of > > GetWindow(oOwner:oSurface:Handle(), GW_CHILD ) > >gives error "No exported variable oSurface" when used in >FUNCTION(WinObject,SymControl). > 1. The buildin Datawindow Method :__GetFormSurface() gives you access to the protect var oSurface. 2. There“s also a Method named :GetAllChildren(), which is part of the Window class. The method returns an array that contains *all* controls that are placed on a Window. regards Karl-Heinz