ListBox doesn't show grids

sharpapproach
sharpapproach used Ask the Experts™
on
I have another mystery.  I have a listbox, and the users want to have grid lines between the records.  Here is a screenshot of the list box, and the properties box.  I have the Gridlines all set to Solid.  Why aren't I seeing them???
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Screenshot?
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
Listboxes do not display gridlines.

Sorry...
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
It's strange, but I've never figured out why the listbox control has GridLine properties, because values in those properties don't seem to accomplish anything.

If you need lines between the records of a listbox, consider creating a continuous subform and using it instead.
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
<It's strange, but I've never figured out why the listbox control has GridLine properties, because values in those properties don't seem to accomplish anything.>
Same here.

My guess is that "GridlineStyle/GridlineWidth"
1. Mean something that we have yet to figure out...?
2. Meant something "in the old days", and is only still around for compatibility?
3. Are a cruel joke...?

Googling now for any insight...

Jeff
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
sharpapproach ,
Go with fyed's solution if the listbox is for display purposes only.

But if it is needed to make multiple (possibly non-contiguous) selections, then you may be stuck here.

You could research using a 'GridView' VB control though...
But this will require an active x control to be installed on each machine, and will be a "challenge" to program things like multiple selections.

JeffCoachman
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
If you need to make multiple selections, consider adding a field (IsSelected) with a Yes/No datatype to the table that is used for the selections.  Then you can add a checkbox to the continuous subform for selecting multiple, non-contiguous values.

Author

Commented:
sorry.... here is a screenshot
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
screenshot?
MIS Liason
Most Valuable Expert 2012
Commented:
<If you need to make multiple selections, consider adding a field (IsSelected) with a Yes/No datatype to the table that is used for the selections.  Then you can add a checkbox to the continuous subform for selecting multiple, non-contiguous values. >
Great alternative...

fyed, I'll leave this to you now...
;-)

Jeff
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
Jeff,  Have a Happy New Year.
Jeffrey CoachmanMIS Liason
Most Valuable Expert 2012

Commented:
Thanks,

You too, ... and be safe

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial