Dec 10, 2003 #1 garyvugelman Programmer Joined Jul 18, 2003 Messages 11 Location US Hello, Is there any way you can obtain the menu name associated with the window? Thanks in advance...
Hello, Is there any way you can obtain the menu name associated with the window? Thanks in advance...
Dec 10, 2003 #2 pgaec Programmer Joined Aug 4, 2003 Messages 161 Location AU messagebox('',this.MenuName) cheers MM Upvote 0 Downvote
Dec 11, 2003 #3 PowerObject Programmer Joined Jul 30, 2002 Messages 204 Location US 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! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObjectPowerBuilder / PFC Developers' Group Upvote 0 Downvote
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! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObjectPowerBuilder / PFC Developers' Group