From e0341b226e2dbd5db58984a744a42a5df7fa96c8 Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 19 Jul 2010 10:39:06 +0000 Subject: [PATCH] win32 intf: documented TPopupMenu.OnClose and delete items git-svn-id: trunk@26733 - --- docs/xml/lcl/menus.xml | 2 +- lcl/interfaces/win32/issues.xml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/xml/lcl/menus.xml b/docs/xml/lcl/menus.xml index 9e918a0e4d..7c5ca2bf05 100644 --- a/docs/xml/lcl/menus.xml +++ b/docs/xml/lcl/menus.xml @@ -2255,7 +2255,7 @@ customise by choosing various menu items.

OnClose - event handler for closing down the popup - + You can delete menu items here. But if you delete the clicked menu item on OnClose the OnClick will not follow under Windows. diff --git a/lcl/interfaces/win32/issues.xml b/lcl/interfaces/win32/issues.xml index 4b334a5cb7..e39c48bf8e 100644 --- a/lcl/interfaces/win32/issues.xml +++ b/lcl/interfaces/win32/issues.xml @@ -13,6 +13,10 @@ Bitmap button color cannot be changed It is impossible to implement without making them owner drawn. + + OnClose happens before OnClick + If you delete the clicked menu item during OnClose the OnClick will be omitted. + Progress bar height cannot be smaller then 10 if a Windows Theme is used Associated bug report: http://bugs.freepascal.org/view.php?id=10626 @@ -28,4 +32,4 @@ MSDN Docs: http://msdn2.microsoft.com/en-us/library/bb760816(VS.85).aspx The content of file created by using this property depends of the printer backend used, for example when using CUPS (mainly under Unix type systems) it will be postscript while under Windows it will be in a printer unspecified format - \ No newline at end of file +