Pressing the Close button sets ButtonID correctly to 8, which is IDCLOSE (see LCLType unit), but mrClose equals to 11, so there it goes wrong.
-- Bart -- _______________________________________________ lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
