Delphi的数据库应用程序能自动提供一个Session组件,这个Session组件即为应用程序与BDE的接口。 1.检测别名 通过调用Session.GetAliasNames(list:Tstrings)方法,可将当前BDE配置中的所有数据库别名的名称存放到List字符串列表中。然后调用list.IndexOf(需要检测的别名')函数,该函数的返回值可用来检测数据库别名是否存在(...
HotTrack: Boolean; 实现热追踪 Selected: TTreeNode; Read Selected to access the selected node of the tree view. If there is no selected node, the value of Selected is nil.Set Selected to set a node in the tree view. ShowButtons: Boolean;是否显示树结构钱的+、-号 具体使用如下 Var node ...
Delphicomes with the TTreeView control—located on the "Win32" section of the tool palette. Defined in the ComCtrls unit, the TTreeView does a decent task of allowing you to present any parent-child relation of any type of objects. Each node in the TTreeView consists of a label and ...
('EhLib directory') (for example, C:\Delphi[X]\EhLib). Copy files from Common and Delphi[X] | BDS2006 directories of the EhLib archive to 'EhLib directory'. By default Delphi (5, 6 and 7) places compiled files to the <Delphi path>\Projects\Bpl directory and this directory already...
treeview1.Items.Clear; if fileexists('system/exampletree.txt') then begin menupanel.Width:=268; treeview1.LoadFromFile('system/exampletree.txt') end else begin menupanel.Width:=160; d1:=treeview1.Items.Add(nil,'第二章示例'); d2:=treeview1.Items.Add(nil,'第三章示例'); d3:=tree...
Fixed: Virtual TreeView state images assertion error 0.7.9 Adding search- and browsing paths didn’t work properly 0.7.8 New: Configuration of optional Search and Browsing Paths New: Writing optional Search and Browsing Paths in script file ...
1)点击VirtualTreeviewSetup.exe文件,选择下列默认路径。 2)注意下面CodegGear RAD Studio2010必须打上钩(默认已打钩) 2) 3)一直安装到完成。 5.安装Fastreport 1)在安装文件夹中找到fastreport4.9文件夹,点击里面的fastreport14文件,开始安装 2)选择安装文件夹,如c:\fastreport2010,并记住这个文件夹,直至安装完成...
VirtualTreeView- treeview control built from ground up. Many years of development made it one of the most flexible and advanced tree controls available today. //Extremely flexible visual component implementing virtual (callback-based) MVC paradigm. Could be also used as a listview or grid. ...
树结构目录查看控件TreeView 重要属性: Item>>生成树结构,HotTrack实现热追踪;Font属性设置树结构的字体属性; AutoExpand: Boolean; HotTrack: Boolean; 实现热追踪 Selected: TTreeNode; Read Selected to access the selected node of the tree view. If there is no selected node, the value of Selected is ...
7. 编写一个程序,使用 TTreeView 组件实现一个简单的文件树状结构,用户可以展开和折叠文件目录。 8. 编写一个程序,使用 TCalendar 组件实现一个日历功能,用户可以选择日期,程序显示该日期的详细信息。 9. 编写一个程序,使用 TDBGrid 组件显示数据库中的数据,用户可以编辑和删除数据。 10. 编写一个程序,使用 T...