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的更多相关文章

  1. Delphi XE2 新控件 布局Panel TGridPanel TFlowPanel

    Delphi XE2 新控件 Firemonkey 布局Panel Windows平台VCl TGridPanel TFlowPanel FMX 跨平台 TLayout TGridLayout TFl ...

  2. 背水一战 Windows 10 (32) - 控件(选择类): Selector, ComboBox

    [源码下载] 背水一战 Windows 10 (32) - 控件(选择类): Selector, ComboBox 作者:webabcd 介绍背水一战 Windows 10 之 控件(选择类) Sel ...

  3. 【转】Android M新控件之AppBarLayout,NavigationView,CoordinatorLayout,CollapsingToolbarLayout的使用

    Android M新控件之AppBarLayout,NavigationView,CoordinatorLayout,CollapsingToolbarLayout的使用 分类: Android UI ...

  4. 【转】Android M新控件之FloatingActionButton,TextInputLayout,Snackbar,TabLayout的使用

    Android M新控件之FloatingActionButton,TextInputLayout,Snackbar,TabLayout的使用 分类: Android UI2015-06-15 16: ...

  5. 背水一战 Windows 10 (66) - 控件(WebView): 监听和处理 WebView 的事件

    [源码下载] 背水一战 Windows 10 (66) - 控件(WebView): 监听和处理 WebView 的事件 作者:webabcd 介绍背水一战 Windows 10 之 控件(WebVi ...

  6. 背水一战 Windows 10 (41) - 控件(导航类): Frame

    [源码下载] 背水一战 Windows 10 (41) - 控件(导航类): Frame 作者:webabcd 介绍背水一战 Windows 10 之 控件(导航类) Frame 示例Controls ...

  7. 背水一战 Windows 10 (44) - 控件(日期类): CalendarView, DatePicker, TimePicker

    [源码下载] 背水一战 Windows 10 (44) - 控件(日期类): CalendarView, DatePicker, TimePicker 作者:webabcd 介绍背水一战 Window ...

  8. 背水一战 Windows 10 (49) - 控件(集合类): Pivot, Hub

    [源码下载] 背水一战 Windows 10 (49) - 控件(集合类): Pivot, Hub 作者:webabcd 介绍背水一战 Windows 10 之 控件(集合类) Pivot Hub 示 ...

  9. 背水一战 Windows 10 (54) - 控件(集合类): ItemsControl 的布局控件 - OrientedVirtualizingPanel, VirtualizingStackPanel, WrapGrid

    [源码下载] 背水一战 Windows 10 (54) - 控件(集合类): ItemsControl 的布局控件 - OrientedVirtualizingPanel, VirtualizingS ...

随机推荐

  1. UICollectionView-网格视图

    1. UICollectionView 网格视图,除了提供与UITableView同样的功能显示一组顺序显示的数据,还支持多列的布局. 2. UICollectionView 使用 > 设置Co ...

  2. RedHat Server Enterprise 6安装G++

    RedHat 6默认是安装有GCC,而没有安装G++编译 要安装G++前最好先查看下GCC的版本号,通常GCC的版本和G++的版本是相同的,知道GCC的版本再去找G++的安装文件就容易些,版本号有在安 ...

  3. HDU - 6433: H. Pow (简答题,输出大数)

    There are n numbers 3^0, 3^1, . . . , 3^n-1. Each time you can choose a subset of them (may be empty ...

  4. BigDecimal的用法

    一.简介 Java在java.math包中提供的API类BigDecimal,用来对超过16位有效位的数进行精确的运算.双精度浮点型变量double可以处理16位有效数.在实际应用中,需要对更大或者更 ...

  5. bzoj 2770 YY的Treap

    Written with StackEdit. Description 志向远大的\(YY\)小朋友在学完快速排序之后决定学习平衡树,左思右想再加上\(SY\)的教唆,\(YY\)决定学习\(Trea ...

  6. Struts2常用标签总结

    Struts2常用标签总结 一 介绍 1.Struts2的作用 Struts2标签库提供了主题.模板支持,极大地简化了视图页面的编写,而且,struts2的主题.模板都提供了很好的扩展性.实现了更好的 ...

  7. jfrog artifactory docker 安装试用

    预备环境(docker 安装模式,使用的免费版本): docker-ce (启用镜像加速) 1. 镜像拉取 docker.bintray.io/jfrog/artifactory-oss 2. 启动 ...

  8. Yii登录验证和全局访问用户ID

    注意:Yii默认的代码,Yii::app()->user->id返回的不是我们想要的用户ID,而是用户名.因此在useridentity类中要用一个变量来存储登录用户的ID,然后重载get ...

  9. Base64加密算法

    Base64是网络上最常见的用于传输8Bit字节码的编码方式之一,Base64就是一种基于64个可打印字符来表示二进制数据的方法.可查看RFC2045-RFC2049,上面有MIME的详细规范. Ba ...

  10. linux 命令详解 sort

    转自:https://www.cnblogs.com/51linux/archive/2012/05/23/2515299.html sort是在Linux里非常常用的一个命令,管排序的,集中精力,五 ...