| Contents |
|
Next |
By teaming up DH_PopupMenu with DH_TextList, you can add horizontal line breaks, non-selectable headings, and column breaks at arbitrary intervals.
This is achieved by using a few special formatting characters in the list file you create for DH_TextList. The following are recognized as formatting characters if they are the 1st character in an item:
The list file used to create the above menu can be viewed here. A final note: the code that interprets the formatting characters is in the DH_PopupMenu module. Therefore, you must use its "Selection" pin, not the DH_TextList's Text I/O pin, to get the correct text for the selected item if you use formatting characters. The Index pins on both modules will still give identical results in any case. |
Next |