Prevent to close form in Miscellaneous

Prevent to click x button on form to close form

DIM allowclose AS BOOLEAN


PUBLIC SUB Form_Close()

IF NOT allowclose THEN
   STOP EVENT
ELSE
   ME.CLOSE
ENDIF

END

Posted: 2010.01.19 15:36 | Tags: | By: arzon | Respond

No comments yet

Post a Comment
 

prev |