这应该是 IW 中最重要的容器了, 和它同父的还有 TIWTabControl



TIWRegion 所在单元及继承链:
IWRegion.TIWRegion < TIWCustomRegion < TIWHTML40Container < TIWHTMLContainer < TIWContainer < TIWBaseContainer < TScrollingWinControl < TWinControl < TControl < TComponent < TPersistent < TObject

主要成员:


property Align: TAlign
property Anchors: TAnchors
property BorderOptions: TIWContainerBorderOptions //设置边框的宽度、颜色、样式
property Color: TIWColor
property ClipRegion: Boolean           //对应 CSS clip, 如果控件大于区域, 是否剪切; 默认 True
property LayoutMgr: TIWContainerLayout //要套用的布局管理器
property Splitter: Boolean         //是否提供分割线; 它出现的位置与 Align 属性有关系
property StyleRenderOptions: TIWStyleRenderOptions
property Visible: Boolean
property DoRefreshControl: Boolean
property InternalTabOrder: TTabOrder
property ContainerContext: TIWContainerContext
property IWComponentsCount: Integer
property RenderInvisibleControls: Boolean //是否呈现隐藏的控件; 默认 False
property HorzScrollBar: TControlScrollBar
property VertScrollBar: TControlScrollBarproperty OnCreate: TNotifyEvent
property OnRender: TNotifyEventprocedure SetBounds(ALeft: Integer; ATop: Integer; AWidth: Integer; AHeight: Integer)
procedure Invalidate
function OwnerForm: TIWBaseForm
function OwnerFrame: TIWHTMLContainer
procedure Freeing(AObject: TObject)
procedure ForceAlign
procedure DisableAutoRange
procedure EnableAutoRange
procedure ScrollInView(AControl: TControl)


RenderInvisibleControls 属性测试:


procedure TIWForm1.IWAppFormCreate(Sender: TObject);
beginIWRectangle1.Visible := False;             //假如 IWRectangle1 在 IWRegion1 内, 并且已经隐藏了IWRegion1.RenderInvisibleControls := True; //如果不指定 RenderInvisibleControls := True 那么再从异步事件中设置 IWRectangle1.Visible := True 将无效
end;{OnAsyncClick}
procedure TIWForm1.IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
beginIWRectangle1.Visible := not IWRectangle1.Visible;
end;


Splitter 属性测试:


{先放三个互不嵌套的 TIWRegion}
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
beginIWRegion1.Color := $ff0000;IWRegion2.Color := $0000ff;IWRegion3.Color := $00ff00;IWRegion1.Align := alTop;IWRegion2.Align := alLeft;IWRegion3.Align := alClient;IWRegion1.Splitter := True;IWRegion2.Splitter := True;
end;

效果图:


转载于:https://www.cnblogs.com/del/p/3796237.html

使用 IntraWeb (25) - 基本控件之 TIWRegion相关推荐

  1. 2-5 ImageList 控件

    2-5  ImageList 控件 u     本节学习目标: n         了解ImageList控件的基本属性及方法 n         掌握配置ImageList 控件的图片列表内容 n  ...

  2. 陈伟视频——(20—25)控件

    ## 陈伟视频-(20-25)控件 陈伟视频20 控件介绍 Active租件 -ActiveX文档 -代码组件(OLE自动化) -控件 ·内部控件 ·ActiveX控件 ·第三方控件 DLL动态链接库 ...

  3. 使用 IntraWeb (15) - 基本控件之 TIWEdit、TIWMemo、TIWText

    TIWEdit //单行文本框, 通过 PasswordPrompt 属性可以作为密码框 TIWMemo //多行文本框 TIWText //相当于多行的 TIWLabel 或不能编辑的 TIWMem ...

  4. 使用 IntraWeb (13) - 基本控件之 TIWLabel、TIWLink、TIWURL、TIWURLWindow

    TIWLabel // TIWLink //内部链接 TIWURL //外部链接 TIWURLWindow //页内框架, 就是 <iframe></iframe> TIWLa ...

  5. 使用 IntraWeb (26) - 基本控件之 TIWMenu

    TIWMenu 的任务是让原来的 TMainMenu 呈现在网页上, 通过其 AttachedMenu 属性关联一个 TMainMenu 是必需的. TIWMenu 所在单元及继承链: IWCompM ...

  6. 使用 IntraWeb (29) - 基本控件之 TIWAutherList、TIWAutherINI、TIWAutherEvent

    为什么80%的码农都做不了架构师?>>>    TIWAutherList //通过一组户名与密码验证登陆 TIWAutherINI //通过记录户名与密码信息的 #Auth.ini ...

  7. 使用 IntraWeb (22) - 基本控件之 TIWCalendar

    TIWCalendar: 日历控件, 继承于 TIWCustomGrid, 所以它和 TIWGrid 共同属性特多. 它的 Cell 是 TIWCalendarCell 对象, 直接从 TIWGrid ...

  8. 使用 IntraWeb (12) - 基本控件之 TIWGradButton、TIWImageButton

    TIWGradButton.TIWImageButton 分别是有颜色梯度变化按钮和图像按钮. TIWGradButton 所在单元及继承链: IWCompGradButton.TIWGradButt ...

  9. 使用 IntraWeb (41) - 数据控件速查

    TIWDBCheckBox 所在单元及继承链: IWDBStdCtrls.TIWDBCheckBox < TIWCustomCheckBox < TIWCustomControl < ...

  10. 页面上指定类型的控件的样式添加

    重构代码!由于不能用到skin所以在基类里面写了个加载样式的方法. 1 #region 初始化控件 2 private void InitializeControls() 3 { 4 foreach ...

最新文章

  1. 西安邮电大学计算机学院系主任,西安邮电大学计算机学院
  2. python学习之路二
  3. 用python画动图_用Python绘制会动的柱形竞赛图
  4. 摘之知乎网友...PHYTIN学习
  5. NoSQL架构实践(二)——以NoSQL为主
  6. 很遗憾,没有一篇文章能讲清楚ZooKeeper
  7. DL之RNN:人工智能为你写代码——基于TF利用RNN算法实现生成编程语言代码(C++语言)、训练测试过程全记录
  8. C++变量、函数在内存中的情况
  9. 网络相关配置,SSH服务,bash, 元字符
  10. win7 activemq_带有骆驼,ActiveMQ,Elasticsearch的关键HL7用例
  11. ckeditor 框架分析 几个核心“人物”
  12. 当 Messaging 遇上 Jepsen
  13. JSP常用内置对象方法
  14. 那些好玩的生成器网站
  15. delphi android 升级,delphi android 自动升级
  16. core+Fleck+redis
  17. hbase/hadoop异常:No lease on /hbase/archive/data/... File is not open for writing
  18. 从多个Word文件中取值到Excel中,整理文件的神器,Word精灵V7.3
  19. 学习《运筹学基础》心得
  20. 偏微分方程的matlab解法微盘,偏微分方程的MATLAB数值解法.pdf

热门文章

  1. centos7.6使用Mariadb官方二进制安装
  2. 牛客小白月赛4 J 强迫症 思维
  3. JS推断浏览器类型与版本号
  4. 点击空白处隐藏指定dom元素(纯javascript方法)
  5. SAP QM 可以控制到没有收到Vendor 的certificate的话就不能做UD.
  6. 【损失函数】Focal Loss for Dense Object Detection And RetinaNet
  7. 4月27 统计学——卡方检验和卡方分布
  8. python中的fft带通滤波器
  9. 数据-第13课-链表回顾
  10. QQ sdk和Android sdk 28的兼容处理