Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #87060

Re: calling a Event Handler within a class

From Juha Nieminen <nospam@thanks.invalid>
Newsgroups comp.lang.c++
Subject Re: calling a Event Handler within a class
Date 2022-10-18 07:06 +0000
Organization Aioe.org NNTP Server
Message-ID <tilj96$ee4$1@gioia.aioe.org> (permalink)
References <jr5tj7F6h7bU1@mid.individual.net>

Show all headers | View raw


Jens <paule32.jk@gmail.com> wrote:
> Hello,
> I have a hard coded TSpeedButton on TForm.
> I would like to assign it a OnClick Event Handler in a procedureal
> global function (not a member of a class).
> How can I do this ?

This is a generic C++ discussion forum, not a forum about that library
you are using.

That does not mean you can't ask that question here. However, it *does*
mean that you should give more details. We don't know what "TForm" or
"TSpeedButton" or any of those other things are. (And no, you can't
expect us to do the googling. It should be you who does the work to
make it as easy as possible for us to answer the question from a
C++ perspective.)

Present the problem in the form of a short piece of code and explain
what you want to achieve in a bit more detail. (If there are functions
or types that are specific to that library, explain them if necessary.)

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

calling a Event Handler within a class Jens <paule32.jk@gmail.com> - 2022-10-17 22:51 +0200
  Re: calling a Event Handler within a class Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2022-10-17 14:32 -0700
  Re: calling a Event Handler within a class Juha Nieminen <nospam@thanks.invalid> - 2022-10-18 07:06 +0000
    Re: calling a Event Handler within a class Jens <paule32.jk@gmail.com> - 2022-10-18 10:06 +0200
      Re: calling a Event Handler within a class Juha Nieminen <nospam@thanks.invalid> - 2022-10-18 09:27 +0000
        Re: calling a Event Handler within a class JiiPee <kerrttuPoistaTama11@gmail.com> - 2022-10-20 18:36 +0300
      Re: calling a Event Handler within a class David Brown <david.brown@hesbynett.no> - 2022-10-18 11:45 +0200
      Re: calling a Event Handler within a class Manfred <noname@add.invalid> - 2022-10-19 02:43 +0200
  Re: calling a Event Handler within a class Bonita Montero <Bonita.Montero@gmail.com> - 2022-10-18 14:21 +0200
  Re: calling a Event Handler within a class Jens <paule32.jk@gmail.com> - 2022-10-19 12:58 +0200
  Re: calling a Event Handler within a class Lynn McGuire <lynnmcguire5@gmail.com> - 2022-10-20 00:25 -0500

csiph-web