Hi All,
I’m trying to create a Smart Client application that works in the same way to a VFP application ie the application has a main screen into which you create a menu and toolbar, then any windows that are opened are contained within that window, but they can be moved around and minimised etc.
I thought I was going down the correct path but any windows created are not contained within the main screen.
function OnSolutionOpen() {
// Create the new application menus.
CreateMenu();
var mainAppWindow = application.getWindow();
mainAppWindow.title = "Trains";
// Open the startup screen.
globals.mainBooksWindow = application.createWindow("frmBooks", JSWindow.DIALOG, mainAppWindow);
// Show the specified form in the just created window.
forms.frmBooks.controller.show(globals.mainBooksWindow);
I think I must be misunderstanding how Servoy works so if anyone can shed some light I would appreciate it.
Many thanks
Caroline