🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.oodesign
Article #109

Re: event and OOP

#109
From: fwang11
Date: Wed, 20 Oct 2004 08:08
13 lines
1484 bytes
Stuart Borden <sborden@spectrontech.com> wrote:
>On 18 Oct 2004 01:05:53 -0700, "fwang11" <fwang11@pub3.fz.fj> wrote:
>>How could a Button object send ButtonClick() event message to 
>>a Form object? It is not an OOP concept. 
>>The Form object "has a" Button object. 
>>So, a button can not send message to a form object.
>>
>
>It does not.  The form actually sends the message to the "button" that the button has been clicked, then the button acts
>upon that information.

It does. The ButtonClick() event handler is called from Button object to Form object.
Technical Details
Message-ID: <41761d16$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41737961$1@newsgroups.borland.com> <tnc9n0d6n621dieqi93f0bbl391b4il4dr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,4f183edbe82db915
X-Google-Attributes: gid10db1e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "fwang11" <fwang11@pub3.fz.fj>
Sender: "fwang11" <fwang11@pub3.fz.fj>
Reply-To: "fwang11" <fwang11@pub3.fz.fj>
Subject: Re: event and OOP
Newsgroups: borland.public.cppbuilder.oodesign
X-User-Info: 220.160.71.171     
References: <41737961$1@newsgroups.borland.com> <tnc9n0d6n621dieqi93f0bbl391b4il4dr@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41761d16$1@newsgroups.borland.com>
Date: 20 Oct 2004 01:08:54 -0700
X-Trace: newsgroups.borland.com 1098259734 207.105.83.66 (20 Oct 2004 01:08:54 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail