New topic: Clear a ListBox ContextualMenu
<http://forums.realsoftware.com/viewtopic.php?t=43298> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message richmanscott Post subject: Clear a ListBox ContextualMenuPosted: Fri Mar 23, 2012 9:03 am Joined: Fri Feb 24, 2012 2:25 am Posts: 23 How do I clear the contextual menu items from a WebListBox? Code: for j = 0 to me.wcList.lbList.ContextualMenu.Count me.wcList.lbList.ContextualMenu.Remove(j) next j throws an exception. Top Jason_Adams Post subject: Re: Clear a ListBox ContextualMenuPosted: Fri Mar 23, 2012 9:18 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 1547 Location: Michigan, USA I wouldn't clear items as much as I would reconstruct the menu without the items. I believe that's really how it's meant to be done â someone correct me if I'm wrong. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2011r4 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
