The openclonewindow statement opens a clone of the current window.


No parameters.


This statement opens a clone of the current window (which must be a form window).


If the database contains a _NewCloneWindowName procedure, openclonewindow will call it to find out what the name of the new window should be. Here is an example _NewCloneWindowName procedure which returns the database name plus a numeric suffix for the window name.

fileglobal windowNumber
define windowNumber,0
windowNumber = windowNumber+1
functionvalue info("databasename") + ?(windowNumber=1,""," ("+windowNumber+")")

This example assumes there is only one form in the database that will be used as a clone window. If there is more than one such form your _NewCloneWindowName procedure will need to make the appropriate adjustments.

See Also


10.0NewNew in this version.