Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to Cntbar()?
Message
From
04/11/2008 11:38:51
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359433
Message ID:
01359544
Views:
32
>That explains the behavior I'm seeing: the only bars that exist prior to activation of the popup are the ones explicitly defined with the Define Bar command--in this case it is the Cascade and the separator. The help file actually says that in it's on obtuse way so I'm not surprised. Even though _screen.formcount returns a correct value, PrmBar() won't return the caption until the popup has been activated. But _screen..forms() should get me to the caption information that I need.
>
>Thanks

Yes, _screen.Forms should get you what you want

Once a menu pad may be 'addressed' (eg press ALT) all the skip for clauses of all bars in any menu-popup are re-evaluated, which is something I use to dynamically change a popup (eg change a popup and put an updated list of files in it)

The odd thing is that even ALT does not rebuild the _mwindow_ popup

Success with the menu struggle
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform