KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Changing the List Box grid color programatically
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: December 23, 2004
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In 2004, List Boxes were introduced which are comparable to the “grouped scrollable areas” in previous
versions of 4th Dimension. You can modify a List Box object either through the form editor or manage it programatically. The example below demonstrates how to set the List Box's grid color to red programatically using List Box commands.

 SHOW LISTBOX GRID(*;"listbox1";True;True)
 SET LISTBOX GRID COLOR(*;"listbox1";0x00FF0000;True;True)