Article View: borland.public.cppbuilder.database.ado
Article #1452Re: Custom Event Coding
From: Heinz Ketchup
Date: Tue, 15 Jun 2004 04:09
Date: Tue, 15 Jun 2004 04:09
42 lines
2125 bytes
2125 bytes
Hey Scott, No offense, but this newsgroup is for Database Related Questions. Specifically ADO... hence... <cppbuilder.database.ado> If you want more help, I suggest you go to borland.public.cppbuilder.vcl.components.using Newsgroups are broken up in to groups for a reason. There are way more people in there with posts that might have already answered your question. Thanks, Heinz. "Scott" <the1scot@aol.com> wrote in message news:40ce1426@newsgroups.borland.com... > Good Evening! > > I have constructed a large array of TEdit objects for a graphical interface > application and I am having some trouble adding in EventHandlers using code > rather than the Object Editor. > > The code i have to call the event, onChange is below with <problem > parameters> filled in for the part I am unable to resolve: > > box_array[i]->OnChange(<problem parameters>); > > The suggested parameter is given as: void TEdit::OnChange(_fastcall * > (_closure)(TObject *))(TObject *) > > If, for example I have an event handler function called ColorChange(), how > would I call this OnChange function such that the Edit box would go to the > function ColorChange during the appropriate event? > > Thanks! > Scott > >
Technical Details
Message-ID:
<40ce766c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40ce1426@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,a31cc75b973c937b X-Google-Attributes: gid10698b,public From: "Heinz Ketchup" <heinz_like_the_ketchup@n0spam.h0tmail.c0m> Newsgroups: borland.public.cppbuilder.database.ado References: <40ce1426@newsgroups.borland.com> Subject: Re: Custom Event Coding Date: Mon, 14 Jun 2004 22:09:18 -0600 Lines: 44 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 209.89.134.158 Message-ID: <40ce766c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087272556 209.89.134.158 (14 Jun 2004 21:09:16 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail