Header Controls By itself header controls are not very useful as it is only a name place holder. Combined with list boxes, it provides a useful way to present columnar data. Both Ex_23a_HeaderControl and Ex_23b_DialogHeader illustrate a rudimentary use with a list box control. A more sophisticated and flexible example is found in the Tests folder. Each dynamic heading contains a list box to hold some kind of typed data. Headings can be resized. This example shows some techniques on how to 1. Load and save data 2. Custumize the context menu. 3. Hide and unhide headings 4. Allow selected text into the edit box by right clicking the edit box 5. "Export" user customizable routines without using generics 6. Build with resusable components Known bug: When headings are rearranged, constraint error may be raised when hiding or making hidden headings appear. More work is needed to prevent this. Back To Home |