社区
非技术区
帖子详情
!!!!如何使DBGrid某列所有的内容显示为“*”,相当于Edit.PassWordChar功能!!!
thygw
2002-01-22 11:29:09
...全文
76
7
打赏
收藏
!!!!如何使DBGrid某列所有的内容显示为“*”,相当于Edit.PassWordChar功能!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
thygw
2002-01-22
打赏
举报
回复
没有那两个事件呀,我用的是adotable!
王集鹄
2002-01-22
打赏
举报
回复
procedure TForm1.Table1BDEDesignerGetText(Sender: TField; var Text: String;
DisplayText: Boolean);
begin
Text := '*******';
end;
wsf
2002-01-22
打赏
举报
回复
在"字段编辑器"里加入表字段,在OnGetText()中: Text:='*'
thygw
2002-01-22
打赏
举报
回复
怎么没有人告诉我呢?
thygw
2002-01-22
打赏
举报
回复
有点儿急!
王集鹄
2002-01-22
打赏
举报
回复
type
TForm1 = class(TForm)
ADOTable1: TADOTable;
procedure ADOTable1AfterOpen(DataSet: TDataSet);
private
procedure PasswordFiledGetText(Sender: TField; var Text: String;
DisplayText: Boolean);
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.PasswordFiledGetText(Sender: TField; var Text: String;
DisplayText: Boolean);
begin
Text := '*******';
end;
procedure TForm1.ADOTable1AfterOpen(DataSet: TDataSet);
begin
DataSet.FieldByName('<密码字段名>').OnGetText := PasswordFiledGetText;
end;
thygw
2002-01-22
打赏
举报
回复
?????????????????????????????????????????????????????????????????
delphi动态配置
DB
grid
列
显示
类
delphi
db
grid
+clientdataSet实现的动态配置
db
grid
显示
列类,输入一个xml文件,单保存即可把
db
grid
中所有列保存到xml中,还可以拖动,修改是否
显示
,
显示
宽度。
DELPHI 表格控件
DB
Grid
Eh史上最全使用资料(101页)
一、
DB
Grid
Eh(增强型表格组件)
功能
详解.....................................................................4 二、应用实例.................................................................................
X-
DB
Grid
.5.5.rar
X-
DB
Grid
.5.5.rar
DB
GRID
32.ocx
DB
GRID
32.ocx
Delphi如何一次删除
db
grid
多条记录的例子.rar
Delphi演示如何一次删除网格数据表
db
grid
中的多条记录,小技巧不过挺实用,希望对大家的Delphi编程有所帮助。以下是实现一次删除多条记录的相关代码供参考: if
DB
Grid
1.SelectedRows.Count >1 then s:= '真的要...
非技术区
828
社区成员
53,613
社区内容
发帖
与我相关
我的任务
非技术区
Delphi 非技术区
复制链接
扫一扫
分享
社区描述
Delphi 非技术区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章