Re: [fpc-pascal] Message methods

2011-04-19 Thread Jorge Aldo G. de F. Junior
will it really traverse the classes ? from what i understood about the manual (and i heavily use that mechanism) it will only trigger the class where you dispatch to, so, self.dispatch(msg) only works for the TForm. if you need more than that you will need to traverse the component tree yourself.

Re: [fpc-pascal] Message methods

2011-04-19 Thread Darius Blaszyk
On Apr 19, 2011, at 6:04 PM, Mattias Gaertner wrote: > > > > dhkblas...@zeelandnet.nl hat am 19. April 2011 um 17:48 geschrieben: > >> Hi, >> >> I'm trying to understand how message methods work in FPC. For this I created >> a simple app that shows a message. I also created a second (iden

Re: [fpc-pascal] Message methods

2011-04-19 Thread Mattias Gaertner
    dhkblas...@zeelandnet.nl hat am 19. April 2011 um 17:48 geschrieben: > Hi, > > I'm trying to understand how message methods work in FPC. For this I created > a simple app that shows a message. I also created a second (identical form) > and I expected that all message methods related to

Re: [fpc-pascal]Message methods - DefaultHandler

2004-06-08 Thread Peter Vreman
> Hello, > I have some problem with DefaultHandler method. When I pass a message > for which is special handler defined everything is ok, but when it > should be passed to DefaultHandler (which is overriden) it does > nothing. Here is some sample code: You need to use 1.9.x. It also gives a w

Re: [fpc-pascal]Message methods - DefaultHandler

2004-06-08 Thread Thomas Schatzl
Hello, > I have some problem with DefaultHandler method. When I pass a >message for which is special handler defined everything is ok, but when >it should be passed to DefaultHandler (which is overriden) it does >nothing. Here is some sample code: > > {$MODE OBJFPC} > type TMyMessage = record