Please mark posts as being for RPG or RDMLX (LANSA) developers.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
You can change the Font color and background color of table column headers without affecting the body of the table.
Concider the shipped LANSA example LREX004 - Using Tables. As shipped the font color of the headers are already changed to blue but if you modify the code setting up the headers to the following, the background color of the headers can be changes as well.
Is there any way I can change the background colour of the header row as opposed to the individual column headers? On iOS7 it's appearing as a standard Apple light blue I think.
This is a global change that effects all tables in the LongRange application.
Note that changes to Table header background color are best made in a local object generator program because the schema needs to be refreashed before changes take effect.
It is a program you write that is called whenever a schema is loaded or refreshed.
It is often used to send commonly used images and other resources up to the device’s resource folder or to (re)load local data base tables with relatively static data (eg: a local table of US states used to locally fill drop downs from).
It can also be used to set up global application configuration details – such as the table header colors, the menu bar colors, whether the menu bar appears, etc, etc.