Free Code
This page contains code that may be useful to developers in the 4th Dimension community. It is available “as is” to anyone who would like it. You can learn more about 4th Dimension at www.4d.com.
GUIAnchor Module
GUIAnchor is a small code module that makes it easy to control moving and resizing of form objects during window resizes in 4D. It has three main methods which take the headache out of programming complex layouts. The module is created so that you can change the position of objects on the form during development without having to update any code.A demo database (with the code) is available here. It is a 4D 2004 database, but conversion to 4D v11 has been tested. (The code was originally written in 4D v11.) The code has been tested in a variety of circumstances, but it has a lot or permutations and they have not all been tested exhaustively. The code is given as is, but information about bugs and enhancements would be appreciated.
Profile4D Component
Profile4D is a component that makes it fairly simple to profile certain parts of your code. The component should work in all versions of 4D from 6.7. It has not been tested on Windows, although the code is very simple and should work just fine.You can download the component and documentation here. You may have to run the component through Transporter before using on Windows.