>>For debugging purpose can you create some file in the RightClick() method and then examine this file (as well as the Other method).
>>
>>Just an idea.
>
>Naomi.
>Your idea is wonderful!
>I create and examine file. Code of RightClick does’not run after any actions with form at all. But at first Code of RightClick runs.
>
>Codes of RightClick():
>
>dimension LAMENU[2]
>PRIVATE LAMENU
>LAMENU[1] ="\<Item1"
>LAMENU[2] ="\<Item2"
>…
>THISFORM.MENULIB.SHOWMENU(@LAMENU)
>…
>
Is this code in the grid? If yes, it sounds like grid restoration problem that Vlad Grynchyshyn had a FAQ here about it
Grid reconstruction and how to avoid it FAQ #8019.
How do you populate the grid? Can you use the safe select approach?
http://weblogs.foxite.com/andykramek/archive/2005/03/19/174.aspx
If it's not broken, fix it until it is.
My Blog