Solved

ListBox doesn't show grids

Posted on 2012-12-27
11
242 Views
Last Modified: 2013-01-23
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???
0
Comment
Question by:sharpapproach
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 26

Expert Comment

by:jerryb30
ID: 38724612
Screenshot?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724697
Listboxes do not display gridlines.

Sorry...
0
 
LVL 48

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724724
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.
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724795
<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
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724816
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
0
 
LVL 48

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724831
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.
0
 

Author Comment

by:sharpapproach
ID: 38724868
sorry.... here is a screenshot
0
 
LVL 48

Expert Comment

by:Dale Fye (Access MVP)
ID: 38724908
screenshot?
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38725023
<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
0
 
LVL 48

Expert Comment

by:Dale Fye (Access MVP)
ID: 38725045
Jeff,  Have a Happy New Year.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38725075
Thanks,

You too, ... and be safe
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question