表/列表框中的图像 [英] Images in Tables/Listboxes

查看:61
本文介绍了表/列表框中的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的伙计我会尽可能清楚地解释我的目标......可能

很难......

我想要一个列表框我的一个表格。列表框将在第0列中显示人员

名称。接下来的三列将为空白(白色)或基于真/假条件的该列的

指定颜色。这些

将用作标志,以指示

列表框中该行中的人是否具有三种可能的认证中的一种或多种。因此,第2栏第1列可能会标记有人接受过CPR培训。如果他们没有接受培训,我希望该栏目空白,如果他们这样做,我们可以说我们想要它

green。接下来可能是消防训练和没有训练的空白,如果训练有b $ b,则为红色。我们最终可能最多有6列但是(在这个

点)无关紧要。


在列出人员的表格中,我有/每个

的认证没有字段。我正在考虑这些方面的东西(如果

它是可能的)。在表格中存储每种颜色的小GIF,并且
标识给定认证的每种颜色。然后在构建填充列表框的

查询时,如果给定的标志为false,则用白色gif填充

查询字段,否则用
gif如果颜色合适。


任何建议,想法,提示等?

OK folks I''ll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?

推荐答案

2006年9月14日星期四20:46:52 -0400,Ima Loozer

< no **** @ EyeDontWantSpam.foowrote:


标准列表框中没有图形。保持简单,并使用Y和N

(或X和< blankcharacters。


-Tom。

On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.


>好伙计我会尽可能清楚地解释我的目标......可能会很难......

我我希望在我的一个表格上有一个列表框。列表框将在第0列中显示人员名称。接下来的三列将为空白(白色)或
指定的颜色,基于true /这些
将用作标志,以指示
列表框中该行中的人是否具有三种可能的认证中的一种或多种。这样第1列可能是标志有人接受过心肺复苏培训。如果他们没有接受过培训,我希望将栏目留空,如果他们这样做,我们可以说我们想要它绿色。接下来可能是消防培训和未经培训的空白,如果<我们可能最终有6列,但是(在这个点上)是无关紧要的。

在表格中列出了人员,我对每个认证都有是/否字段。我正在考虑这些问题(如果可能的话)。在表格中存储每种颜色的小GIF,并确定给定认证的每种颜色。然后在构建填充列表框的
查询时,如果给定的标志为false,则用白色gif填充查询字段,否则用gif填充它如果颜色合适的话。

任何建议,想法,提示等?
>OK folks I''ll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?


文章< 92 ************************** ****** @ 4ax.com>,no.spam.tom7744

@ cox.net说...
In article <92********************************@4ax.com>, no.spam.tom7744
@cox.net says...

On星期四,2006年9月14日20:46:52 -0400,Ima Loozer

< no **** @ EyeDontWantSpam.foowrote:


没有图形一个标准的列表框。保持简单,并使用Y和N

(或X和< blankcharacters。


-Tom。

On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.


好​​的伙计我会尽可能清楚地解释我的目标......可能

很难...

我希望在我的一个表格上有一个列表框。列表框将在第0列中显示人员

名称。接下来的三列将为空白(白色)或

基于真/假条件的该列的指定颜色。这些

将用作标志,以指示

列表框中该行中的人是否有一个或更多的三个可能的认证。所以

第1列可能会标记有人进行CPR培训。如果他们没有

有培训,我希望该栏空白,如果他们让我们说我们想要它

绿色。接下来可能是消防训练和未经过训练的空白,如果训练有b / b,我们可能最终会有6列。在这个

po int)是无关紧要的。


在列出人员的表格中,每个

的认证都有Yes / No字段。我正在考虑这些方面的东西(如果

它是可能的)。在表格中存储每种颜色的小GIF,并且
标识给定认证的每种颜色。然后在构建填充列表框的

查询时,如果给定的标志为false,则用白色gif填充

查询字段,否则用
gif如果颜色合适。


任何建议,想法,提示等?
OK folks I''ll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?




如果我可以使用Y / N我会的。你应该保持简单,并阅读

要求是什么。


If I COULD use Y/N I would. You should keep it simple and read what the
requirements are.


如果我可以使用Y / N我会。你应该保持简单,并阅读
If I COULD use Y/N I would. You should keep it simple and read what the

的要求。
requirements are.



你是对的。你真的是一个失败者。咬着喂你的手

无法获得帮助。如果你足够聪明,可以成为一个聪明的人,那么你可能足够聪明,可以创建一个子类控件来做你想要的b $ b b。所以有它。

You''re right. You really are a loser. Biting the hands that feed you
is no way to get help. If you''re smart enough to be a smartass, you''re
probably smart enough to create a subclassed control to do what you
want. So have at it.


这篇关于表/列表框中的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆