[Win32Lib] reported RunDemos bug in Delete Folder

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu