Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

popupmenu unexpected closing [Delphi, Windows]


Dodfr ©   (2007-08-27 11:05:00) 

Hi,

One of my application unexpectively close right-mouse click popup menu when the mouse move from one menu line to an other (only if there is a sub menu on the line the mouse is leaving).

So when a sub-menu is closed, it is the entire menu that is closed.

Any idea ? I do not manage any OnMenuxxx event, only OnPopupMenu to (re)create it each time it is showed.

I never had this problem with this menu (I did not changed the code since years) that worked fine. I noticed this problem recently I think after some KOL&MCK update. I do KOL&MCK updates slowly because I already had some trouble after updates and had to spend a lot of time understanding why my application wkred differently and fix/adpat to the new KOL&MCK version.

Regards.


Dodfr   (2007-08-28 11:04:00) [1]

Thanx vlad,

Yes, that is what I was going to do, it's the only method to find the source of this kind of 'strange' problem but it take a lot of time, so I tried to ask here first hoping that it was may be a known problem.

regards


Vladimir Kladov   (2007-08-27 19:23:00) [2]

I can not see such behavior neither in a simple demo nor in my application. Please try to create a small project demonstrating the problem (we should reproduce the error before trying to fix it). E.g. copy the project to another directory (and it is better for a time to rename a directory with the original project). And then remove from it controls, menus, code, etc. one-by-one, each time recompiling it and looking if the problem still there. (Do not forget to move form in Delphi designer after each removing to force MCK re-generate code if you use MCK).


Наверх

Титульная страница Поиск, карта сайта Написать письмо