I have supplied a slightly modified version of Docking Example 1 to demonstrate some issues using TURTLE package configuration. It gives problems linking, crashing and displaying. I have some idea of how to solve some of the problems and I have added comments in main.cpp but have no idea how to get it to show the display correctly. I am using UPP version 7178 under Windows 7. Thank you.
I found that adding the line StateH(OPEN) to the following method in package turtle file Top.cpp fixed the problem with docking control from not displaying.
I have also discovered another issue using either Chrome or Internet Explorer, whenever the back space key is pressed while editing a text field then the browser jumps back to a previous page. This does not seem to be a problem with FireFox. Does anyone know if something cleaver can be added to turtle.brc java script file that will tell the browser the back space key has been used so it does not try to jump back a page. Thank you.
I found a similar issue pressing the tab, it would move focus up to the browser's (Internet Explore) tool bar. Clicking back onto the GUI edit control the cursor would flash there but the key presses would still go to the browsers tool bar. By pressing the tab a number of times I could get the key focus back to the GUI edit control. Applying the same fix you did for but for the tab character, stops the focus jumping to the tool bar. However similarly if you click on the tool bar then the GUI control again it will also take the focus away.
Another observation I found was that I had to add dummy routines for ViewDraw::ViewDraw(class Upp::Ctrl *) and ViewDraw::~ViewDraw() to prevent link error, however this is not needed with the WebWorld reference example.