社区
Delphi
帖子详情
如在的delphi中gride中加入下拉框,等等就象pb那样?
borlandsoftware
2001-12-31 10:52:24
...全文
96
6
打赏
收藏
如在的delphi中gride中加入下拉框,等等就象pb那样?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
chen_weiping
2001-12-31
打赏
举报
回复
//在窗体上任意放置dbgrid(strgrid)和dbcombobox1(combobox1)
procedure TForm1.DBGrid1DrawDataCell(Sender: TObject; const Rect: TRect;
Field: TField; State: TGridDrawState);
begin
if (gdfocused in state) then
begin
begin
DBCombobox1.Left := Rect.Left + DBGrid1.Left;
DBCombobox1.Top := Rect.Top + DBGrid1.top;
DBCombobox1.Width := Rect.Right - Rect.Left;
DBCombobox1.Height := Rect.Bottom - Rect.Top;
DBCombobox1.Visible := True;
end;
end;
bluetooth_2001
2001-12-31
打赏
举报
回复
加入column后,选择
设置DBGrid.column[n].PickList属性
Snakeguo
2001-12-31
打赏
举报
回复
设置DBGrid的PickList属性
arrow_gx
2001-12-31
打赏
举报
回复
onGetText 是显示
onSetText是实际数字
kofxdm
2001-12-31
打赏
举报
回复
>> 使用Picklist须注意,要用onGetText和onSetText来存储和显示数据!
楼上的,给个例子看看。
shiboq
2001-12-31
打赏
举报
回复
使用Picklist须注意,要用onGetText和onSetText来存储和显示数据!
delphi
的String
Grid
控件模仿Excel
delphi
的String
Grid
控件模仿Excel
中
的Up,down,left,right,enter的方法
grid
e的使用方法
grid
e的主要方法即特点
grid
e加载动态图片
grid
e可以流畅的加载动态图片
Extjs+
Grid
e使用方法
Extjs+
Grid
e使用方法 Extjs
Grid
e
RedHat Studies
Grid
e
RedHat Studies
Grid
e
Delphi
5,927
社区成员
262,932
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章