Customize highlight color upon listbox row selection

Automatically translated from English

A new step is reached to provide our developers with a fully customizable listbox object, entirely adaptable to user need. A new option is available in the listboxes that will allow to improve final interfaces: this option is called “Hide selection highlight”.

With just one click this option can be activated. Once activated, the system highlight will be completely invisible.

Developers then have full control over how they want to display selected rows. They can combine colors and styles to make selections as bold, or as subtle, as they want. Behind the scenes, selections work just like before but on screen you’ll only see what the developer wants you to see.

Example

The example below shows that the selected rows are highlighted with the same color as background, just darker. The categories, represented by colors, are still visible, not turned into the system highlight color (usually blue).

highlight_1

highlight_2

Example database

For more details about this feature, please refer to the Customizing the appearance of selections section in the 4D v16 R2 documentation.

 

Roland Lannuzel

• Product Owner & 4D Expert •

After studying electronics, Roland went into industrial IT as a developer and consultant, building solutions for customers with a variety of databases and technologies. In the late 80’s he fell in love with 4D and has used it in writing business applications that include accounting, billing and email systems.

Eventually joining the company in 1997, Roland’s valuable contributions include designing specifications, testing tools, demos as well as training and speaking to the 4D community at many conferences. He continues to actively shape the future of 4D by defining new features and database development tools.