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 ...
随机推荐
- json结构更改的方法 把date有数据的分类
data=[ { "content": "如何走进智障儿童的内心", "title": "如何走进智障儿童的内心", & ...
- Kotlin For Gank.io (干货集中营Kotlin实现)
介绍 Kotlin,现在如火如荼,所以花了一点时间把之前的项目用Kotlin重构一下 原项目地址:https://github.com/onlyloveyd/GankIOClient 对应Kotlin ...
- zoj-3963 Heap Partition(贪心+二分+树状数组)
题目链接: Heap Partition Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge A sequence ...
- HTML5编写规范
HTML和CSS编码规范内容 一.HTML规范 二.CSS规范 三.注意事项: 四.常用的命名规则 五.CSS样式表文件命名 六.文件命名规则 一.HTML规范: 1.代码规范 页面的第一行添加标准模 ...
- 使用stm32F4Discovery 的stlink v2给其他板子调试
不适用stm8. 1. 拔掉 CN3 的 跳线帽 2.CN2 的 原理图 3.按照2中的原理图和板子(核心板stm32c8t6),实际上我这边连接使用的结果是: 4. 5. 6.相关资料: 链接:ht ...
- linux中磁盘分区以及如何将磁盘挂载到系统中
fdisk 分区 fdisk /dev/sdb -p查看当前分区-t 改分区号-w将分区表写进磁盘-n创建分区 -p主分区 -e拓展分区 partprobe 让内核更新分区信息cat /proc/pa ...
- C# 方法、类等的默认访问修饰符
C# 方法默认访问级别 : private C# 类默认访问级别 : internal 1.命名空间下的元素的默认访问修饰符 public : 同一程序集的其他任何代码或引用该程序集的其他程序集都可以 ...
- iOS10修改电池状态栏的方法
- LeetCode 616. Add Bold Tag in String
原题链接在这里:https://leetcode.com/problems/add-bold-tag-in-string/description/ 题目: Given a string s and a ...
- MD5中Java和Js配套实现
MD5为计算机安全领域广泛使用的一种散列函数,用以提供消息的完整性保护.用于确保信息传输完整一致.是计算机广泛使用的杂凑算法之一(又译摘要算法.哈希算法),主流编程语言普遍已有MD5实现.将数据(如汉 ...