>I've put a logical variable in the 'skip for' of some menu items.
>
>Those menu items deactivate correctly when I set that variable to .t. in the init of a form and reset to .f. in the deactivate.
>
>But, when I set to .t. in a .prg I call from a menu item, I'm not seeing any deactivation of the menu items.
>
>What am I missing?
Menus review their skip fors when VFP is ready to do that. You can use the command
ACTIVATE MENU _msysmenu NOWAIT to force a refresh of the menu.