But not the text color of the non-editable cells. This depends on the Theme used, and is very bright in most Theme's and therefore useless! Also not changeable data are important to read otherwise we would not show them at all. In statistics, our customers work exclusively with tables that can not be changed!
Is there a way to set the text color of the non-editable cells / columns to dark black, or dark blue? (Without creating our own XML theme/skin) ?
Is there a easy way to make Grid cells "Read Only"? That would be an even better option, so customers can also copy out data from cells they can not change. (This also works perfect for data fields!) That might also solve the upper requirement...
- Founder/Site Admin
- Posts: 2912
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
SalTblSetColumnFlagsto set the column Read Only.
Here a sample:
The readonly flag inhibits nearly all keyboard actions. Nearly because:
Its possible to delete the contents, and also to paste a new value. I found no way blocking that key actions (WM_KEYUP, WM_KEYDOWN). Any ideas?
Who is online
Users browsing this forum: [Ccbot] and 0 guests