数据网格和文本选择 [英] Datagrid and text selection

查看:81
本文介绍了数据网格和文本选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个readonly的数据网格,用于从查询中列出结果集

。从这个集合中,用户可以选择一个,并显示那个

的详细信息。让我烦恼的是,我似乎无法摆脱文本

选择的东西。如果你在选择它的任何文本上点击网格,

用键盘导航网格显示

单元格的灰色背景和蓝色选择文本那个单元格。


现在灰色背景基本上就是我想要的。如何摆脱

蓝色选择?

-

Rinze van Huizen

C-Services Holland bv

Hi all,

I''ve got a datagrid which is readonly and is used to list a resultset
from a query. From this set the user can select one and details of that
show up. What annoys me is that I can''t seems to get rid of the text
selection stuff. If you click in the grid on any text it selects it,
navigating the grid with your keyboard shows a gray background for the
cell and a blue selection for the text in that cell.

Now the gray background is basically all I want. How do I get rid of
that blue selection?
--
Rinze van Huizen
C-Services Holland b.v.

推荐答案

嗨Rinze


你试过Enabled = False吗?


Nigel Armstrong


" C-Services Holland bv"写道:
Hi Rinze

Have you tried Enabled = False?

Nigel Armstrong

"C-Services Holland b.v." wrote:
大家好,

我有一个readonly的数据网格,用于从查询中列出结果集。从这个集合中,用户可以选择其中一个和详细信息显示。令我恼火的是,我似乎无法摆脱文本选择的东西。如果您在任何文本上单击网格,它会选择它,
使用键盘导航网格显示
单元格的灰色背景和该单元格中文本的蓝色选择。

现在灰色背景基本上就是我想要的。我如何摆脱蓝色选择呢?
-
Rinze van Huizen
C-Services Holland bv
Hi all,

I''ve got a datagrid which is readonly and is used to list a resultset
from a query. From this set the user can select one and details of that
show up. What annoys me is that I can''t seems to get rid of the text
selection stuff. If you click in the grid on any text it selects it,
navigating the grid with your keyboard shows a gray background for the
cell and a blue selection for the text in that cell.

Now the gray background is basically all I want. How do I get rid of
that blue selection?
--
Rinze van Huizen
C-Services Holland b.v.



嗨Rinze


你试过Enabled = False吗?


Nigel Armstrong


" C-Services Holland bv"写道:
Hi Rinze

Have you tried Enabled = False?

Nigel Armstrong

"C-Services Holland b.v." wrote:
大家好,

我有一个readonly的数据网格,用于从查询中列出结果集。从这个集合中,用户可以选择其中一个和详细信息显示。令我恼火的是,我似乎无法摆脱文本选择的东西。如果您在任何文本上单击网格,它会选择它,
使用键盘导航网格显示
单元格的灰色背景和该单元格中文本的蓝色选择。

现在灰色背景基本上就是我想要的。我如何摆脱蓝色选择呢?
-
Rinze van Huizen
C-Services Holland bv
Hi all,

I''ve got a datagrid which is readonly and is used to list a resultset
from a query. From this set the user can select one and details of that
show up. What annoys me is that I can''t seems to get rid of the text
selection stuff. If you click in the grid on any text it selects it,
navigating the grid with your keyboard shows a gray background for the
cell and a blue selection for the text in that cell.

Now the gray background is basically all I want. How do I get rid of
that blue selection?
--
Rinze van Huizen
C-Services Holland b.v.



Rinze,


这是2005年,因为你在讨论结果集吗?

我在数据集中选中所有蓝色选定的字段。


Cor


" C-Services Holland bv" < cs*@REMOVEcsh4u.nl>
Rinze,

Is this 2005 because you are talking about a resultset?
I get tabbing through the dataset all blue selected fields.

Cor

"C-Services Holland b.v." <cs*@REMOVEcsh4u.nl>
大家好,

我有一个readonly的数据网格,用于列出结果集
一个查询。从这个集合中,用户可以选择一个和该节目的细节
。令我恼火的是,我似乎无法摆脱文字选择的东西。如果您在选中它的任何文本上单击网格,使用键盘导航
网格会显示单元格的灰色背景,并为该单元格中的文本选择蓝色


现在灰色背景基本上就是我想要的。我如何摆脱蓝色选择?
-
Rinze van Huizen
C-Services Holland bv
Hi all,

I''ve got a datagrid which is readonly and is used to list a resultset from
a query. From this set the user can select one and details of that show
up. What annoys me is that I can''t seems to get rid of the text selection
stuff. If you click in the grid on any text it selects it, navigating the
grid with your keyboard shows a gray background for the cell and a blue
selection for the text in that cell.

Now the gray background is basically all I want. How do I get rid of that
blue selection?
--
Rinze van Huizen
C-Services Holland b.v.



这篇关于数据网格和文本选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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