• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

Closing Application

Can the X button on the Mdi_Form be enabled an d disenabled.
For example have it enabled just when it is the mdi_form and dienabled when it is a child form. If so what property do I set.
0
calis
Asked:
calis
1 Solution
 
jjbyersCommented:
Set the ControlBox to false on the child forms. This will remove the X and the control box on the top left of the form.
0
 
myqlGCommented:
Check into the Query_unload event.
and set the cancel=true
this will stop the closing of the form.

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now