Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu is not visible after use showmenu() of menulib
Message
From
23/06/2008 05:10:18
 
 
To
23/06/2008 04:25:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01325379
Message ID:
01326069
Views:
32
>>>Codes of RightClick():
>>>
>>>dimension LAMENU[2]
>>>PRIVATE LAMENU
>>>LAMENU[1] ="\>>>LAMENU[2] ="\>>>…
>>>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
>
>I use safe select approach.
>Before refreshing the record source, I assign empty string to Grid1.recordsource property.
>Is it enough to save Code of RightClick()?

Hi Sergey,
if you use "safe select", you do NOT assign an empty string to recordsource!! And by NOT assigning this empty string, the whole grid stays intact.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform