Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu Name

Status
Not open for further replies.

garyvugelman

Programmer
Jul 18, 2003
11
0
0
US
Hello,

Is there any way you can obtain the menu name associated with the window?

Thanks in advance...
 
If you are trying to get a reference to the menu object for the window, use MenuID property of the window:

m_mymenu lm_Menu
//
lm_Menu = w_mywindow.MenuID
lm_Menu.m_File.m_New.Enabled = ...

---
PowerObject!
-----------------------------------------
PowerBuilder / PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top