[fpc-pascal]Ummmm... anyone know why this doesn't work...

Matt Emson memsom at interalpha.co.uk
Wed Jul 23 13:04:00 CEST 2003


> Tabbing through controls is handled in DefDialogProc() when 1) dialog is
> modal or 2) you call IsDialogMessage() explicitly. I have no idea how to
> implement this when the buttons are inserted into a window of another
> class (when DefDialogProc is not the window procedure); certainly it is
> possible somehow. An option is to trap keypress messages and do the
> tabbing yourself.


Actually, it's 'TranslateMessage' that is causing the problem.



More information about the fpc-pascal mailing list