RAD 10 新控件 TSearchBox TSplitView
Seattle新控件
1.TSearchBox
Events
OnInvokeSearch published Occurs when the search indicator button is clicked.
Properties
ButtonWidth published The width of the search box indicator button.
SearchIndicator published The type of the search box button.
TLocationSensor
2.TSplitView
导航,侧边栏,SplitView,SplitView1
if SV.Opened then
SV.Close
else
SV.Open;
可以自动伸缩收起,展开的控件容器,好用!
CloseStyle:svcCollapse(动画收缩至不可见)、svcCompact(直接合并到CompactWidth宽度)
E:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\Object Pascal\VCL\SplitView
svcCompact的效果,左侧小图标还在。
里边放到是TCategoryButtons控件列表

svcCollapse效果

procedure TSplitViewForm.SVClosed(Sender: TObject);
begin
// When TSplitView is closed, adjust ButtonOptions and Width
catMenuItems.ButtonOptions := catMenuItems.ButtonOptions - [boShowCaptions];
if SV.CloseStyle = svcCompact then
catMenuItems.Width := SV.CompactWidth;
end; procedure TSplitViewForm.SVClosing(Sender: TObject);
begin
//
end; procedure TSplitViewForm.SVOpened(Sender: TObject);
begin
// When not animating, change size of catMenuItems when TSplitView is opened
catMenuItems.ButtonOptions := catMenuItems.ButtonOptions + [boShowCaptions];
catMenuItems.Width := SV.OpenedWidth;
end;
3.TDockTabSet
停靠,侧边栏
官网例子
Using the TDockTabSet component by Jeremy North
http://edn.embarcadero.com/article/33446
Abstract: Instructions on how to use the TDockTabSet component to make advanced docking user interfaces.
另外一个例子
http://community.embarcadero.com/article/technical-articles/145-ui/5501-using-the-tdocktabset-component-by-jeremy-north
http://blog.csdn.net/cb168/article/details/25246071
本机下有demo,这是XE6,但是berlin、Tokyo已经没有此demo了,难道是建议升级改用SplitView控件了吗。
D:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\Object Pascal\VCL\Docking
TGridPanel
固定的行,列,每个单元格一个控件,通过里边的控件padding设置边距,可以实现卡片,但是没有滚动条。是个遗憾。
TFlowPanel
要是能设边距就好了。也是没有滚动条。
设置每个子panel属性即可。pnl.AlignWithMargins:=true 就有边距了。
TCategoryButtons
Button侧边,只支持win vcl,不支持firemonkey
TCategoryPanelGroup

toolbutton控件,DropdownMenu属性,鼠标按下弹出菜单。
IDE插件
Documentation Insight
XE2继承了,后来又不见了。国人开发。
http://edn.embarcadero.com/article/42394
http://bbs.csdn.net/topics/370172899
使用的一些例子
https://community.embarcadero.com/blogs/entry/list-of-free-delphi-libraries-examples-from-winsoft
RAD 10 新控件 TSearchBox TSplitView的更多相关文章
- Delphi XE2 新控件 布局Panel TGridPanel TFlowPanel
Delphi XE2 新控件 Firemonkey 布局Panel Windows平台VCl TGridPanel TFlowPanel FMX 跨平台 TLayout TGridLayout TFl ...
- 背水一战 Windows 10 (32) - 控件(选择类): Selector, ComboBox
[源码下载] 背水一战 Windows 10 (32) - 控件(选择类): Selector, ComboBox 作者:webabcd 介绍背水一战 Windows 10 之 控件(选择类) Sel ...
- 【转】Android M新控件之AppBarLayout,NavigationView,CoordinatorLayout,CollapsingToolbarLayout的使用
Android M新控件之AppBarLayout,NavigationView,CoordinatorLayout,CollapsingToolbarLayout的使用 分类: Android UI ...
- 【转】Android M新控件之FloatingActionButton,TextInputLayout,Snackbar,TabLayout的使用
Android M新控件之FloatingActionButton,TextInputLayout,Snackbar,TabLayout的使用 分类: Android UI2015-06-15 16: ...
- 背水一战 Windows 10 (66) - 控件(WebView): 监听和处理 WebView 的事件
[源码下载] 背水一战 Windows 10 (66) - 控件(WebView): 监听和处理 WebView 的事件 作者:webabcd 介绍背水一战 Windows 10 之 控件(WebVi ...
- 背水一战 Windows 10 (41) - 控件(导航类): Frame
[源码下载] 背水一战 Windows 10 (41) - 控件(导航类): Frame 作者:webabcd 介绍背水一战 Windows 10 之 控件(导航类) Frame 示例Controls ...
- 背水一战 Windows 10 (44) - 控件(日期类): CalendarView, DatePicker, TimePicker
[源码下载] 背水一战 Windows 10 (44) - 控件(日期类): CalendarView, DatePicker, TimePicker 作者:webabcd 介绍背水一战 Window ...
- 背水一战 Windows 10 (49) - 控件(集合类): Pivot, Hub
[源码下载] 背水一战 Windows 10 (49) - 控件(集合类): Pivot, Hub 作者:webabcd 介绍背水一战 Windows 10 之 控件(集合类) Pivot Hub 示 ...
- 背水一战 Windows 10 (54) - 控件(集合类): ItemsControl 的布局控件 - OrientedVirtualizingPanel, VirtualizingStackPanel, WrapGrid
[源码下载] 背水一战 Windows 10 (54) - 控件(集合类): ItemsControl 的布局控件 - OrientedVirtualizingPanel, VirtualizingS ...
随机推荐
- javaBean和mvc思想
JavaBean, 咖啡豆. JavaBean是一种开发规范,可以说是一种技术. JavaBean就是一个普通的java类.只有符合以下规定才能称之为javabean: 1)必须提供无参数的构造方法 ...
- <input type="checkbox" name="" value=" ">
<input type="checkbox" name="" value=" ">
- .Net版SQLite无法访问网络位置的数据库文件-winOpen,os_win.c 36702异常
最近一个C#小程序,希望将SQLite数据库放在网络共享的位置,让多个客户端同时访问.却发现SQLite连接不上该网络位置的数据库,而如果数据库在本地则一切正常. 例如将SQLite数据库 test. ...
- 《Drools7.0.0.Final规则引擎教程》第3章 3.2 KIE概念&FACT对象
3.2.1 什么是KIE KIE(Knowledge Is Everything),知识就是一切的简称.JBoss一系列项目的总称,在<Drools使用概述>章节已经介绍了KIE包含的大部 ...
- 毕业生、程序猿转岗该如何选择Java、大数据和VR?答案在这里!
许久不见的朋友请我吃饭,期间给我介绍他一个弟弟,说明年要毕业了,还不知道找啥工作,说有培训机构让他学VR.大数据什么的,不知道前景咋样,想咨询一下我.相信很多朋友面临毕业,都不知道该从事哪个行业,自己 ...
- C++ 资源管理 —— RAII
RAII:在构造函数中申请资源,在析构函数中释放资源. 1. RAII 自动实现锁资源的释放 void bad() { m.lock(); f(); if (COND) return; m.unloc ...
- 【前端】XHTML入门笔记
教程/XHTML 模块/XHTML 标准属性/XHTML 事件属性 XHTML 指可扩展超文本标签语言(EXtensible HyperText Markup Language). XHTML 元素必 ...
- 细说 const
1.const 简单应用 const int pp=0 //pp 为整形常量,不能修改 还有另外一种不常用的方式 但是最容易误导 int const pp=0 //pp 为整形常量,不能修改 记住这两 ...
- ZooKeeper初探之安装和配置
1. ZooKeeper简介 Zookeeper是Hadoop下的一个子项目,它是一个针对大型分布式系统的可靠的协调系统,提供的功能包括配置维护,名字服务,分布式同步,组服务等,Zookeeper是可 ...
- Spring 实现发送电子邮件的两种方法
1.通过xml文件配置主要属性: xml文件:test.xml <bean id="mailSender" class="org.springframewor ...