View Single Post
  #51 (permalink)  
Old 08-15-2008, 01:59 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,907
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by klaus View Post
For what I know, it is not possible to check and uncheck a context menu item, otherwise I would have taken the function over. I don't know if with the Door library there would be a possibility
Yes
Code:
' obj1 is a Door library Object
obj1.Value=cxmenu.Value
obj1.Value = obj1.GetProperty("MenuItems")
obj1.Value = obj1.GetProperty2("Item", 1) ' 0 = first, 1 = second item
obj1.SetProperty("Checked", true)
Reply With Quote