1. [Win32Lib] reported RunDemos bug in Delete Folder
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jun 24, 2002
- 379 views
Derek reported that there's a bug in the most recent RunDemos whereby if you select <ctrl>delete, to delete a tab item (a category of demos), and then select NO, it deletes the tab item anyway. Sorry 'bout that!! It can be fixed in the procedure: procedure onEvent_SpecialKeyPressed in the section commented: -- <cntrl><delete>, remove category by adding: if result = IDYES then just after the message box function, and an "end if" just after: WriteRunDemosListFile() in the same section (just before another "end if" right before: elsif keyCode = VK_INSERT then so the end of that section looks like: -- now write all the new data to the .lst file: WriteRunDemosListFile() end if -- this is the new "end if" end if elsif keyCode = VK_INSERT then Dan Moyer