it can be done by "Edit"->"Layout". I just want to know if we can do it from JSL.
The jsl support for creating and editing "layouts" is poor.
To create a layout of a report window, try this:
Current Report() << bring window to front; // Can be deleted, depending on the context
Main Menu("Layout");
thanks MS. this is very helpful