摘要: http://delphi.about.com/od/usedbvcl/l/aa081903a.htm 阅读全文
posted @ 2009-06-04 17:13 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(161) 评论(0) 推荐(0) 编辑
摘要: If you are developing database applications with tables containing MEMO fields, you'll notice that, by default, the TDBGrid component does not show the contents of a MEMO field inside a DBGrid cell. T... 阅读全文
posted @ 2009-06-04 16:49 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(372) 评论(0) 推荐(0) 编辑
摘要: Adjusting DBGrid column widths automatically Here's a handy method to automatically fix the size of TDBGrid columns (at run-time) to fit the DBGrid width (remove the unfilled space at the right edge o... 阅读全文
posted @ 2009-06-04 16:37 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(450) 评论(2) 推荐(0) 编辑
摘要: The TListBox Delphi component displays a collection of items in a scrollable list. Delphi makes it easy to program dragging and dropping into your applications. Here's how to allow a user to rearrange... 阅读全文
posted @ 2009-06-04 15:58 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Enhancing the TDBNavigator component with modified graphics (glyphs), custom button captions, and more. Exposing the OnMouseUp/Down event for every button. "Ok, the DBNavigator does its job of navigat... 阅读全文
posted @ 2009-06-04 15:55 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 你想把DbNagvator图片去掉换成文字 可以这样1. form1摆一个DBNavigator12\定义typeTMyNavgator = class(TDBNavigator);3.FormCreat时候//去掉图片TMyNavgator(DBNavigator1).Buttons[nbFirst].Glyph.Assign(nil);//汉字TMyNavgator(DBNavigator1)... 阅读全文
posted @ 2009-06-04 15:49 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(896) 评论(0) 推荐(0) 编辑
摘要: 在DBNavigator中BeforAction事件中写如下代码 procedure TForm1.DBNavigator1BeforeAction(Sender: TObject; Button: TNavigateBtn); begin if Button=nbDelete then begin if MessageBox(Handle,'确实要删除么?','系统提示',MB_YE... 阅读全文
posted @ 2009-06-04 15:41 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(689) 评论(0) 推荐(0) 编辑
摘要: type TMyNavgator = class(TDBNavigator); TMyNavgator(DBNavigator1).Buttons[nbFirst].Visible := false; 具体是那个按钮, 你修改对应的 nbFirst 就可!! 阅读全文
posted @ 2009-06-04 15:33 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(320) 评论(0) 推荐(0) 编辑
摘要: DBGRID.columns[0].title.captioin:='NEW TITLE'; 阅读全文
posted @ 2009-06-04 15:24 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 好漂亮哦!http://www.freeiconsweb.com/ 阅读全文
posted @ 2009-06-04 14:36 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 这里有很多Regsvr32命令,看了后就明白了 Regsvr32命令修复系统故障实例使用过activex的人都知道,activex不注册是不能够被系统识别和使用的,一般安装程序都会自动地把它所使用的activex控件注册,但如果你拿到的一个控件需要手动注册怎么办呢?如果修改注册表那就太麻烦了,在windows的system文件夹下有一个regsvr32.exe的程序,它就是windows自带的ac... 阅读全文
posted @ 2009-06-04 11:53 DELPHI&.NET初学者[TECSOON WENDAY] 阅读(470) 评论(0) 推荐(0) 编辑