Grid font

I'm creating my grids at runtime, but can't get the font to change. I'm doing the following:


1. On my blank form I dropped a grid and select edit custom style
2. I then changed the font of the 3 TText items in the style
3. Close, save and delete grid
4. In my code I then set StyleLookup property to the name of the new style in the stylebook

This has no effect so it looks like I'm missing something.

In any case, is there an easy way to change the font at runtime so that my users can select their font? 

Thanks, Bob

Hi Pieter - ignore this post - I've just remembered about OnGetCellLayout.


Thanks, Bob