ListBox Question

S

Steve Haack

Is it possible to control the font properties for each row in a listbox? For
example, in the list box, I may have several items to list. For some of them,
I want to use the regular font, but for others, I would like to give a visual
clue, for example, Italics font.

Is this possible?
 
L

Larry Linson

Steve Haack said:
Is it possible to control the font properties for each row
in a listbox?

No, rows in a listbox do not have separate properties. The listbox has a
Font property.

The closest I can think of to what you want is to make it a multi-select
listbox and select the rows you want to stand out, so they will be
highlighted. On the other hand, allowing the _user_ to manually select items
in the list box is the primary purpose and that would conflict.

Larry Linson
Microsoft Office Access MVP
 
M

Marshall Barton

Steve said:
Is it possible to control the font properties for each row in a listbox? For
example, in the list box, I may have several items to list. For some of them,
I want to use the regular font, but for others, I would like to give a visual
clue, for example, Italics font.


I have never used a list box in a real application. For
exactly the formatting reasons in your question, I prefer to
use a continuous subform and Conditional Formatting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top