Hi David.
You could go into the CLICK method of cclosebutton in ctoolbar and change the IF statements to use variables. Then display the results using a WAIT WIND to see which functions are returning a false in the EXE and narrow it down from there.
Example:
llReturn = Function()
WAIT WIND "Function = " + IIF(llReturn, "True", "False")
IF llReturn
...
HTH
Dan
>When I compile my project as an exe the cmdClose button in the cnavtoolbar class doesn’t work with my forms. When I mouse click on the cmdClose button nothing happens. However, all the other buttons work. But when I compile as an app and run it within VFP6.0 (issuing DO MAIN) the cmdClose works. Does anyone know how I can fix this for the exe?
>
>Thanks, David