Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
MENU'S >>  HOW TO USE SYS(1500) WITHIN A MENU PROCEDURE

  Chris Chamberlain
  Where is Chris Chamberlain?
 GL6 0PN
 United Kingdom
 Chris Chamberlain



There may be occasions when you need to activate a Visual FoxPro system menu item from a procedure within a menu.

Taking 'Ca\<scade' from '_mwindow' as an example, by creating a procedure for this particular menu option, you negate your ability to use SYS(1500,[_wmi_cascade],[_mwindow]) within the procedure as '_wmi_cascade' is no longer available as a 'SystemItemName'.

Quick fix - substitute a divider item name such as '_wmi_sp100' with '_wmi_cascade', thus ensuring it's available as a 'SystemItemName'.”

FEEDBACK


Your Name: 
Your Feedback: 

Spam Protection:
Enter the code shown: