MF Editor components and a editor link component for VirtualStringTree
Version 1.0.2 Beta
Copyright (c) 2001 Manfred Fuchs
Description
-----------
1. Add the needed MF Editors to your form and set Visible := False.
2. Add one ore more TVSTEditor components to your form.
3. Add the MF Editors in the property fields.
4. Set the OnCreateEditor event of your VirtualStringTree.
5. Fill OnCreateEditor() with code.
Example:
Data := Sender.GetNodeData( Node );
with Data^. do
begin
case <what editor is needed> of
<need string editor>:
VSTEditor.LinkEditor(EditLink,<string value>);
<need string editor with button>:
VSTEditor.LinkButtonEditor(EditLink,<string value>);
<need combo editor>:
VSTEditor.LinkComboEditor(EditLink,<string value>);
<need numeric editor>:
VSTEditor.LinkNumEditor(EditLink,<numeric value>);
<need datetime editor>:
VSTEditor.LinkDateTimeEditor(EditLink,<date value>,<time value>);
end;
end;
6. Set the OnNewText event of your VirtualStringTree.
7. Fill OnNewText() with code. After editing the appropriate editor have
the new data value.
Example:
Data := Sender.GetNodeData( Node );
with Data^. do
begin
case <what editor is used> of
<string editor>,
<string editor with button>,
<combo editor>:
<string value> := Text;
<numeric editor>:
<numeric value> := VSTEditor.NumEditor.Value;
<datetime editor>:
<date value> := VSTEditor.DateTimeEditor.Date;
or
<time value> := VSTEditor.DateTimeEditor.Time;
end;
end;
没有合适的资源?快使用搜索试试~ 我知道了~
VirtualTreeView+Demo源码
共320个文件
pas:75个
dfm:39个
res:29个
5星 · 超过95%的资源 需积分: 13 55 下载量 54 浏览量
2011-11-25
23:14:28
上传
评论
收藏 6.8MB ZIP 举报
温馨提示
Delphi和C++ builder相当好的控件,这个控件只能说一句话——太强大了!另附源码,帮助文档我另外上传。
资源推荐
资源详情
资源评论
收起资源包目录
VirtualTreeView+Demo源码 (320个子文件)
DBL$file.$$$ 320B
clearVT.bat 1KB
cldirrec.bat 69B
Background2.bmp 125KB
Image list 32x32.bmp 54KB
Image list 24x24.bmp 46KB
Background.bmp 45KB
slider.bmp 8KB
XP.bmp 7KB
Earth.bmp 5KB
Clipboard.bmp 5KB
Fist.bmp 3KB
Exit.bmp 3KB
Chart.bmp 3KB
Paintbrush.bmp 3KB
Book.bmp 3KB
Sheets.bmp 3KB
Eye.bmp 3KB
thumb3.bmp 2KB
thumb2.bmp 2KB
thumb1.bmp 2KB
VT_Addons.bpk 4KB
DBVT.bpk 3KB
VirtualTreeView.bpk 3KB
VirtualTreeViewD.bpk 3KB
VTIni.cfg 2KB
XMLTreeTest.cfg 1KB
NodeLevelTest.cfg 465B
VT_AddonsD6.cfg 442B
VT_Addons.cfg 442B
VirtualTreesD5.cfg 442B
VirtualTreesD5D.cfg 442B
Project1.cfg 391B
VirtualTreesD6D.cfg 386B
VirtualTreesD6.cfg 386B
DemoEdit.cfg 368B
VirtualStringList.chm 70KB
VirtualStringTreeData.chm 41KB
VirtualIniTree.chm 33KB
RttiGrid.chm 17KB
BaseVirtualDBTree.cpp 54KB
CustomSimpleVirtualDBTree.cpp 18KB
PrtVTree.cpp 11KB
VT_Addons.cpp 1KB
VirtualTreeViewD.cpp 842B
VirtualTreeView.cpp 813B
DBVT.cpp 785B
Marker.DB 44KB
Areal.DB 22KB
Value.db 20KB
Lang.DB 18KB
LA.db 4KB
MV.db 4KB
DBVT_from_Milan.dcr 5KB
VirtualDBTree.dcr 5KB
DBVT_from_Mike.dcr 3KB
MFEdit.dcr 2KB
MFEdit.dcr 2KB
tracklistview.dcr 2KB
VTrackTreeView.dcr 2KB
BrowseDrReg.dcr 500B
XaudioPlayer.dcr 480B
VSTEdit.dcr 476B
VSTEdit.dcr 476B
VirtualTrees.dcr 0B
Unit1.dcu 9KB
Unit1.dcu 8KB
AlignDemo.dfm 308KB
VisibilityDemo.dfm 256KB
WindowsXPStyleDemo.dfm 162KB
SpeedDemo.dfm 49KB
Main.dfm 39KB
MainUnit.dfm 36KB
Main.dfm 34KB
GeneralAbilitiesDemo.dfm 27KB
GridDemo.dfm 24KB
XMLTreeTestFrm.dfm 24KB
PropertiesDemo.dfm 23KB
Unit1.dfm 23KB
MVCDemoMain.dfm 14KB
Unit1.dfm 12KB
sfxunit.dfm 11KB
Unit1.dfm 9KB
Main.dfm 7KB
mainunit.dfm 6KB
Addunit.dfm 4KB
DemoUnit.dfm 4KB
DrawTreeDemo.dfm 3KB
ListUnit.dfm 3KB
renunit.dfm 3KB
searchUnit.dfm 3KB
frmMainUnit.dfm 2KB
OptionUnit.dfm 2KB
Main.dfm 2KB
Unit1.dfm 2KB
PlayListUnit.dfm 2KB
ShuffleUnit.dfm 2KB
extrunit.dfm 2KB
Unit1.dfm 1KB
msgunit.dfm 1KB
共 320 条
- 1
- 2
- 3
- 4
Jinziyatoo
- 粉丝: 2
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页