MSHFlexGrid Fonts

alos
09-01-2003, 06:25 AM
Hi,

I am using MSHFlexGrid to show data taken from a text file. I want to change only certain cells' font, such as bold or Italic. I have not been able to apply that to the cells that I want look different.

Is there a way to change the font type of only some of the cells?

thanks

Alos

SpaceFrog
09-01-2003, 06:34 AM
Have u tired cellfontname ?
cellfontbold
cellfontsize ...
and all other cell instruction that modify current cell properties ....

alos
09-01-2003, 06:47 AM
Hi SpaceFrog,

Yes, I have tried to change it but it changes all other cells at the same time. Bold, Italic or what ever is selected gets applied to all of them...

Alos

SpaceFrog
09-01-2003, 06:50 AM
The modification applies to current selection, all you need to do is define selection before applying modification ...

With MSFLEXGRID1
.row = 1
.col = 1
.cellfontbold.true

this should only affect cell at (1,1) !!!

alos
09-01-2003, 07:15 AM
Hi SpaceFrog,

Thanks a lot for your help, that worked ok.....

Alos

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum