Jump to content
Server Maintenance This Week. ×

How to prevent opening a layout for the 2nd time (in a new window)?


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

Recommended Posts

Hi,

With a button-click, i want to go to a specific layout.

If there isn't a window open with this layout, it should open the layout in a new window.

If this layout is already open, it should just bring the appropriate window to the front.

FYI: i'm using multiple files in my application

Sounds basic ... but can nevertheless not get my arms around this :o(

Anybody who knows how to do this?

Thx,

Link to comment
Share on other sites

That's almost there, efen, except that does not guarantee that the existing window is on the correct record. So, I'd add a capture of the current key into a $var, and if (get (lasterror) do a find in the existing window for that $var.

Link to comment
Share on other sites

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