Discussion:
ListBox ActiveCell
RBNUBE
2007-01-10 06:29:18 UTC
Permalink
A minor annoyance, but it looks pretty shabby to have the text pop to the
top when a cell goes into edit mode.

Is there a way to set the distance between the top of the ActiveCell to the
top of the text inside?

Thanks for any input!

RB5.5.5 and a mostly unused copy of 2006r2.
WinXP, 2.2 GHz, 2G RAM
CV
2007-01-10 12:49:39 UTC
Permalink
Post by RBNUBE
A minor annoyance, but it looks pretty shabby to have the text pop to the
top when a cell goes into edit mode.
I don't see that in Rb2006 on XP or OSX or 5.5.5 on OSX.

Best,

Jack
Terry Ford
2007-01-10 13:24:02 UTC
Permalink
Post by CV
Post by RBNUBE
A minor annoyance, but it looks pretty shabby to have the text pop to the
top when a cell goes into edit mode.
I don't see that in Rb2006 on XP or OSX or 5.5.5 on OSX.
It will happen if the DefaultRowHeight is set to something other than
-1. The text will center vertically in the cell until it is made
editable.

It almost looks like a precursor to multi-line cells and acts similar
to a StaticText if it is made multiline in code.

Terry
CV
2007-01-10 18:06:53 UTC
Permalink
Post by Terry Ford
Post by CV
Post by RBNUBE
A minor annoyance, but it looks pretty shabby to have the text pop to the
top when a cell goes into edit mode.
I don't see that in Rb2006 on XP or OSX or 5.5.5 on OSX.
It will happen if the DefaultRowHeight is set to something other
than -1. The text will center vertically in the cell until it is
made editable.
Yes, I see it now. A single-line editfield shows that tendency as
well when its height to textheight ratio is high.

-Jack
RBNUBE
2007-01-11 01:51:44 UTC
Permalink
Yes...that is it. I never use the default row height because it's too
tight.

I assume there is no workaround for this?
Terry Ford
2007-01-11 02:33:35 UTC
Permalink
Post by RBNUBE
Yes...that is it. I never use the default row height because it's too
tight.
I assume there is no workaround for this?
Not if you want the cell editable. You must remember that Rb tuns the
cell into a single line EditField and all the built-in positioning,
keypresses and other things then apply to the cell.

Terry
RBNUBE
2007-01-11 03:03:35 UTC
Permalink
That what I suspected. Thanks!

Continue reading on narkive:
Loading...