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. Solr集群安装

    1.JDK安装版本:jdk1.8.0 安装原文件路径:10.58.111.35(10.58.111.36.10.58.111.44)堡垒机 [/opt/jdk-8u101-linux-x64.tar. ...

  2. c#如何保存richtextbox的rtf格式

    C# codethis.rtbText.Rtf = @"{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052" + @&qu ...

  3. QT画图

    if (0) { QApplication a(argv, args); QGraphicsScene scene; scene.setSceneRect(-300,-300,600,600); sc ...

  4. Golang Printf、Sprintf 、Fprintf 格式化

    /* %v 输出结构体 {10 30} %+v 输出结构体显示字段名 {one:10 tow:30} %#v 输出结构体源代码片段 main.Point{one:10, tow:30} %T 输出值的 ...

  5. 软件安全攻防--缓冲区溢出和shellcode

    缓冲区溢出漏洞实验报告 实验楼中有seed缓冲区溢出漏洞实验,实验内容与课本中要求的实验基本一致,便利用实验楼提供好的现成实验环境来完成这次的实践内容. 一.实验简介 缓冲区溢出是指程序试图向缓冲区写 ...

  6. 《DSP using MATLAB》示例Example7.16

    代码: M = 60; alpha = (M-1)/2; l = 0:M-1; wl = (2*pi/M)*l; Hrs = [ones(1, 7), 0.5925, 0.1099, zeros(1, ...

  7. fn project AWS Lambda 格式 functions

      Creating Lambda Functions Creating Lambda functions is not much different than using regular funct ...

  8. 学习动态性能表(3)--v$sql&v$sql_plan

    学习动态性能表 第三篇-(1)-v$sq 2007.5.25 V$SQL中存储具体的SQL语句. 一条语句可以映射多个cursor,因为对象所指的cursor可以有不同用户(如例1).如果有多个cur ...

  9. Toolbar使用

    原文地址 http://www.cnblogs.com/Dentist/p/4370176.html Android4.0出现的Actionbar提供了同意方便的导航管理.很大程度的统一了Androi ...

  10. spring mvc集成velocity使用

    目前流行的三大页面视图神器是:老牌大哥jsp.后起之秀freemarker和velocity.这里不详细比较这三者的优劣,总体来说,jsp是标配,但后面两个更严格的执行了视图与业务的分离,页面里是不允 ...