I have a Firemonkey Desktop Application for Windows. I have a TGrid which I populate through a visual livebinding TBindSourceDB component. I want some columns to have text aligned to the right, as they are numerical values. I have tried through:
getting the TTextCell control by number of ColumnxRow
typecasting it and setting TextAlignt property to the right
None of those measures align the text to the right. I have tried to set it at runtime, unsuccessfully though, getting the TStyledControl and assigning procedures to the onApplyStyleLookup of the TTextCell.
Any ideas on it? The App runs, but nothing happens. The cell texts are still left aligned.