New topic: ContextualMenu Editing?
<http://forums.realsoftware.com/viewtopic.php?t=47160> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message RicSum Post subject: ContextualMenu Editing?Posted: Tue Mar 05, 2013 11:00 am Joined: Fri Jun 05, 2009 4:54 pm Posts: 432 Location: London, England Hi, does anyone know why the EDIT case of the ContextualMenu below doesn't work? The "Add" and "Delete" work fine, but the "Edit" case does nothing Select Case hititem.text case "Add a New Statistic" list.AddRow "" list.EditCell(list.LastIndex,0) case "Edit the Selected Statistic" Dim row,column as Integer row=Me.RowFromXY(System.MouseX - Me.Left - Self.Left,System.MouseY - Me.Top - Self.Top) column=Me.ColumnFromXY(System.MouseX - Me.Left - Self.Left,System.MouseY - Me.Top - Self.Top) Me.CellType(row,column)=ListBox.TypeEditable Me.EditCell(row,column) case "Delete the Selected Statistic" List.RemoveRow(List.ListIndex) End select Return True Thanks _________________ RealStudio Professional Edition 2012 r2 Developing on OS X 10.8 (Mountain Lion) Deploying on Windows XP / 7 / 8 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
