🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12055

Re: Binding methods to events

#12055
From: Hans Galema
Date: Thu, 01 Jan 2004 11:07
15 lines
1513 bytes
Nik wrote:
> I have the ability to assign a method to an event in delphi simply by
> creating a function in exactly the same way the event requires and then
> assigning the OnEvent to = the function i created.

This is probably better asked in the ...vcl.components.using/writing newsgoup.

 > It doesn't seem to work when i try to do it
> exactly the same way as delphi.

In bcb C++ it goes exactly the same way.

Please show your code.

Hans.
Technical Details
Message-ID: <3ff3fe5b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ff3e34b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a9208b78d316a119
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-01 03:09:04 PST
Date: Thu, 01 Jan 2004 12:07:14 +0100
From: Hans Galema <dontusethis@dontusethis.nl>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031208
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Binding methods to events
References: <3ff3e34b@newsgroups.borland.com>
In-Reply-To: <3ff3e34b@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.108.11
Message-ID: <3ff3fe5b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072954971 129.125.108.11 (1 Jan 2004 03:02:51 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail