Jump to content
Server Maintenance This Week. ×

WIndows close issue


coffeec

This topic is 6786 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I have a program that opens a new window that runs a new record script. I have a submit button that closes and commits the records based on data entry validation. The problem is that if you close the window using the 'X' button in the window title bar, the record commits as a blank record. My question is there a way to grey out those buttons in the titlebar or is there a script that will do this for us?

Thanks in advance.

Link to comment
Share on other sites

Is your layout in the new window set up with "Save Record Changes Automatically" unchecked. That will ensure that you cannot close the window without a dialog box coming up. Of course you can still click save and save a blank record.

I would think that data validation should make at least some fields required and prevent committing a blank record.

Link to comment
Share on other sites

Dacon's Menu control plugin removes the close, minimize, max features from windows.

http://www.dacons.net/fmplugins/menucontrol/prodinfo/index.html

Link to comment
Share on other sites

  • 2 weeks later...

This topic is 6786 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.