Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread TListBox Scrollbars in Chrome/Firefox
Mon, Jul 1 2013 4:35 PMPermanent Link

Dan

Fiscalsoft

Tried to find this in the threads somewhere but was unsuccessful.

When I use a TListBox in a project, it doesn't display properly in
Chrome/Firefox.  The gray mouse-over doesn't appear, and there is a
vertical scroll bar no matter how large I make the object in the
project.  I was also unsuccessful in finding a scroll bar property for
the component that I could just turn off manually.

If anyone could give me a hand I would certainly appreciate it.

Note: It works in IE, but friends don't let friends use IE Wink
Tue, Jul 2 2013 1:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Dan,

<< When I use a TListBox in a project, it doesn't display properly in
Chrome/Firefox.  The gray mouse-over doesn't appear, and there is a vertical
scroll bar no matter how large I make the object in the project.  I was also
unsuccessful in finding a scroll bar property for the component that I could
just turn off manually. >>

You can't control the scrollbars currently in a TListBox - it's completely
up to the browser.  At some point I'll be removing this "native" list
control functionality and replacing it with something like the TGrid, at
which point things will work as expected.

As for the mouse-over:  are you referring to the "hot" border display ?  If
so, then it seems to work fine here with 1.02.

Tim Young
Elevate Software
www.elevatesoft.com

Tue, Jul 2 2013 1:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Dan,

via email:

<< Thanks for the response.  What I mean by the mouse-over is, as I think
you also described, the 'hot' border display as you called it.  For example:

I have a menu that might have 5 or 6 strings -

Home
Administration
Settings
Help
Contact

And when you mouse over any of those options, there is a gray background box
that highlights that option.  It doesn't show up in Chrome or Firefox for me
(and I've tested at multiple boxes). >>

That's another browser-specific behavior - we're not adding the hot
highlight to individual items.  In fact, it doesn't seem to occur in IE9,
either.  This is another one of those items that will be changed once I take
over the handling of the list items.

What you might want to consider is using a single-column TGrid instead with
the row/column lines  and headers turned off.  It won't allow for
multi-select, but will allow for single item selection with proper "hot"
highlighting, scrollbars, etc.

Tim Young
Elevate Software
www.elevatesoft.com
Image