随笔分类 - devexpress
devexpress vcl
摘要:procedure TFrmAnnouncement.SetStoragerText;var strStoragerText, strKeyWord: string; tmpList: TStringList; LenText, I, j, K: Integer; curRow: TPoint; t
阅读全文
摘要:function TForm15.CreateBand(View: TcxGridDBBandedTableView; BandCaption, ParentBandCaption: String): TcxGridBand;var band: TcxGridBand;begin Result :=...
阅读全文
摘要:Var count, scount: integer; mynode: TTreeNode; mysubItem: TdxBarSubItem;Begin Inherited; For count := 0 To frmMainForm.MenuBar.ItemLinks.Count - 1 Do ...
阅读全文
摘要:procedure TForm1.dxBarManagerToDxNavBar;var i, j: Integer; item: TdxBarSubItem; group: TdxNavBarGroup; bar: TdxNavBarItem;begin dxNavBar1.Groups.Clear...
阅读全文
摘要:添加组,添加项,并将项和组关联起来 procedure TForm2.cxButton1Click(Sender: TObject); var item: TdxnavbarItem; grp: Tdxnavbargroup; begin grp := dxnavbar1.Groups.Add; i
阅读全文
摘要:object FormChoose: TFormChoose Left = 331 Top = 269 BorderStyle = bsDialog Caption = #36873#25321 ClientHeight = 242 ClientWidth = 439 Color = clBtnFa
阅读全文
摘要:把cxGridView里OptionsView选项中的两项修改成如下 OptionsView.Indicator = True OptionsView.IndicatorWidth = 40//宽度在customDrawIndicatorCell事件中填写procedure TForm1.cxGri...
阅读全文
摘要:设置: cxGrid1DBTableView1Column.PropertiesClass = TcxTextEditProperties; cxGrid1DBTableView1Column.PropertiesClass = TcxDateEditProperties; cxGrid1DBTab
阅读全文
摘要:uses cxexportgrid4link;var SaveDialog: TSaveDialog;begin SaveDialog:=TSaveDialog.Create(nil); with SaveDialog do begin Filter := '*.xls|*.xls'; if Exe...
阅读全文
摘要:在内置右键菜单的后面增加菜单项 首先应在Form上加一个cxGridPopupMenu控件 以启用右键菜单 UseBuildInPopupMenus设为True procedure TFormItemList.FormCreate(Sender: TObject); var AMenu: TComp
阅读全文
摘要:CxGrid用法- -使用cxGrid有一些时间了,在这里总结一下使用cxGrid的一些方法,希望给刚开始接触cxGrid的人一些帮助。1.简单介绍:cxGrid右下方的cxGrid1Level1是表示Grid表的层,cxGrid可以有多层,这相当于集合了PageControl的功能,而cxGrid...
阅读全文