Layout Test Program
By Bill BaxterThis is a small example program for the FOX toolkit that demonstrates the various layout flags you can use to create widgets. Download the source code and an example Win32 exe: foxlayout-15-Feb-04.zip The code was built and tested on WinXP with MSVC 6.0, and FOX 1.1.46. Should work with most any FOX 1.1.x version, but not with FOX 1.0.x. If you have any problems, suggestions, patches let me know. Also let me know if you find this useful! Basically this program lets you interactively play with the various layout flags available. Use it by picking some layout flags with the checkboxes, then clicking on the "Add" button. After you add a button, changing the flags changes the style of the last button added so you can see how different flags affect it. The idea is just to let you play around with the different flags and different composite widgets so you can start to gain an intuitive notion of how to get the layout you're after. Notes:
If you're interested in my other free code check here. Finally, a screenshot! ![]() |