This is an annoyance more than a problem....

I have a grid that is used for display only....I have
Grid.AllowCellSelection set OFF and Grid.HighlightStyle set to 2 to give the
impression to the user that the grid is readonly.

Everything is fine whilst I use the textbox control on each column

As soon as I try and use an edit box, the contents of the underlying field
'shift' a few pixels down and to the right whenever I click that column.

It's only a small cosmetic thing but I'm a stickler for detail and see no
reason why it should do it.....

I've disabled the editbox, put a return .f. in the when statement....and
just about everything else I can think of but it make no difference.

I wondered if anyone had any ideas?

Re: Grid Problem by thorkell

thorkell
Tue Feb 26 15:52:37 CST 2008

When I use this setup I set the editbox properties as follows:
Margin = 0
Borderstyle = 0 - none
Specialeffect = 1 - plain

Re: Grid Problem by Andy

Andy
Tue Feb 26 16:15:14 CST 2008

Yeah, I've done that too but the text still shifts slightly within the cell
belonging to the column that I click on - despite the fact that neither the
cell nor the column receives focus??????

"thorkell" <torkell@simnet.is> wrote in message
news:ethIkFMeIHA.1164@TK2MSFTNGP02.phx.gbl...
> When I use this setup I set the editbox properties as follows:
> Margin = 0
> Borderstyle = 0 - none
> Specialeffect = 1 - plain



Re: Grid Problem by thorkell

thorkell
Tue Feb 26 17:31:32 CST 2008


Grid.HighlightRow = .f.


>