自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (9)
  • 收藏
  • 关注

原创 GridControl应用点滴之控制单元格读写

在前面的文章有提到ReadOnly和AllowEdit可控制单元格的读写。    但此法只会应用于整列的单元格,有时我们会需要根据实际数据对象状态来决定读写权限。    这时我们可以通过GridControl.View中的ShowingEditor事件来处理 private void DataViewOnShowingEditor(object sender, S

2017-06-21 16:05:58 844 1

原创 GridControl应用点滴之Combobox

应用过程中有需要使得单元格具备Combobox的风格。    下面就应用方式,分两种状况说明:XAML代码和程序代码    XAML代码: <dxe:ComboBoxEdit x:Name="PART_Editor"

2017-06-21 15:56:57 1931 1

原创 GridControl应用点滴之ReadOnly Vs AllowEdit

在GridColumn中有两个控制读写属性:ReadOnly和AllowEdit    主要区别在于:    ReadOnly为True时,则仍可显示单元格的编辑器,可以在编辑中进行诸如复制文字操作等;    AllowEdit为True时,则在点击单元格时,不显示编辑器,也就无法进行诸如复制文字操作等。

2017-06-21 15:35:10 1379

原创 GridControl应用点滴之选中数据行事件

在很多应用场合下,我们期望选中GridControl中的数据行,通过“选中变化事件”来联动处理后续动作。   GridControl提供有两个事件可供我们处理    1、GridControl的SelectionChanged  2、GridControl.View的FocusedRowHandleChanged   前者,在GridControl选择行模式为单行模

2017-06-21 15:29:48 6172

原创 GridControl应用点滴之数据绑定

如上XAML配置代码,是一段设置GridControl列的代码。其中Binding段,特别设置了Mode为TwoWay。而实际上,Mode默认为Default,这种状况一下,程序会自动根据Property设置读写权限来决定。倘若没有显式设置为TwoWay,那么运行起来后的效果是:单元格无法编辑。以上测试效果是在DevExpress15.2中得出的结论。

2017-06-21 15:18:03 806

运行时Object Inspector

在运行期显示控件设计属性,且提供编辑。适合开发版本:Delphi 5.x, Delphi 6.x, Delphi 7.x, Delphi 2005, Delphi 2006。

2014-06-26

TAPPBar任务栏

make you application look like the TaskBar in windows Converting a normal application in to an AppBar is a tre step rocket : 1 Add AppBar to the uses clausule in the TOP of the unit containing the form you want to convert to an TAppBar 2 Change the forms parent class from TForm to TAppBar 3 If y

2014-06-16

delphi 钩子类

delphi 钩子类

2014-05-23

VC写的Pascal编译器

支持三种文件 *.rez——这是源码解析后的文件 *.asm *.pas 开发环境VC 6

2010-07-14

dephi編寫的一個類似msn中的提示窗

自己看代碼吧12345678901234567890

2010-03-15

可靠地判断系统版本的函数

来源于 Slovenian Delphi community

2010-03-10

TQRMultiExport - PDF and Image exporter

For Delphi7 By Akos Toth. This component allows you to save your QuickReport output in different graphics formats. Supported formats are: PDF, JPEG, GIF, BMP, EMF, WMF and TIFF Events implemented: OnBeginExport, OnFinishExport, OnPrepare (after calling the prepare method of the report) and OnPage (before exporting each page).

2010-03-10

监视文件夹程序(delphi)

SHILCreatefromPath SHChangeNotifyRegister SHGetPathFromIDList

2010-03-09

ADO連接Excel

Connecting an Excel Spreadsheet to Delphi using ADO

2010-01-21

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除