Jump to content
Server Maintenance This Week. ×

Remove window boarders


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

Recommended Posts

  • 2 weeks later...

Why do you want to remove the borders? If it's to prevent the window from being closed you could use the SecureFM plugin.

Link to comment
Share on other sites

  • 2 months later...

What I have done to prevent a user closing a window is to set the window distance from top as -34 (negative 34). This slides the top of the window underneath the menu bar, so the user cannot get to the window control and close it. They can only close that window by using one of my buttons.

Link to comment
Share on other sites

What I have done to prevent a user closing a window is to set the window distance from top as -34 (negative 34). This slides the top of the window underneath the menu bar, so the user cannot get to the window control and close it. They can only close that window by using one of my buttons.

wouldn't that still allow the user to close the window with a keyboard command?

without a plugin, I think the only way to prevent a window from being inadvertently closed is locking it inside a script. See for instance the Floating Palette demo by Ray Cologon.

But if the user needs to interact with more than one window simultaneously, then another approach would be to check if the palette window is open before the start of any script (and put it back if needed). And give the user a menu command to show / hide the palette... just like Illustrator or word does.

Link to comment
Share on other sites

Thanks for the link to Ray Cologon's Floating Pallette. This is a simple technique to lock a newly opened window. The user cannot close it or even click outside it. No choice but to exit it as the developer intended, with a button on the window. Perfect.

Link to comment
Share on other sites

This topic is 5822 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.