View Single Post
  #4 (permalink)  
Old 06-04-2008, 06:40 AM
TWELVE TWELVE is offline
Knows the basics
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 71
Default

Quote:
AppClose closes the main form and therefore launches Sub Form1_Close which then calls AppClose again.

The simplest solution is to move your cleanup code into Sub Form1_Close.
This was exactly the issue.I didn't know that AppClose calls the Form1_Close Sub.Is that documented somewhere in the manual ? If so i didn't find it.

Quote:
You can use Form.CancelClose to cancel the closing process.

How is the syntax then, do you have an example piece of code..?


The Basic4PPC help is very poor, often i do not understand how a certain instruction or parameter does work, sometimes i don't even understand what the instruction does.


@Rioven: no i do not use the fullscreen stuff from the formlib, yet.

kind regards


TWELVE
Reply With Quote