TIWList            //列表; 它对应 Html 中的 OL、LI(某些选项下会用表格模拟); TIWListbox 和 TIWComboBox 则对应 Html 在的 Option
TIWListbox //列表框
TIWComboBox //组合下拉框
TIWOrderedListbox //可手动调整顺序的列表; 好像是新增的, 还不成熟

TIWList 所在单元及继承链:

IWHTMLControls.TIWList

主要成员:


property Items: TStringList  //
property Numbered: Boolean //是否使用数字编号; 默认 True
property Bulleted: Boolean //是否使用项目符号; 默认 False
property BulletType: TIWListBulletType //项目符号类型: btDisc(默认)、btCircle、btSquare、btNone
property RenderMode: TIWListRenderMode //最终在 Html 中的呈现方式: rmTable(使用表格)、rmHTMLList(使用 Html 标准列表); 默认是 rmTable, 我推荐后者 procedure Clear //

TIWListbox 所在单元及继承链:
IWCompListbox.TIWListbox

主要成员:


property ItemIndex: Integer   //
property Items: TStringList //
property Sorted: Boolean //是否排序
property MultiSelect: Boolean //能否多选 property Confirmation: string //
property DoSubmitValidation: Boolean //
property Editable: Boolean //
property SelectedValue: string //ItemsHaveValues = True 时, 键值对中的"值"
property SelectedText: string //ItemsHaveValues = True 时, 键值对中的"键"
property Text: TCaption //当前文本
property BGColor: TIWColor //背景色
property FocusColor: TIWColor //有焦点时的背景色
property AutoHideOnMenuActivation: Boolean //是否在 IWMenu 使用时隐藏该控件
property ItemsHaveValues: Boolean //= True 时, 每行字符串则当做键值对处理, 这时只显示键
property NoSelectionText: string //未选标示; 默认是: -- No Selection --
property Required: Boolean //是否是必选; 好像 MultiSelect = True 时无效
property RequireSelection: Boolean //是否隐藏未选标示(当 ItemIndex -1 时), 默认 True
property UseSize: Boolean //是否使用设计时的宽度; 默认是 True, False 时将适宽 property OnChange: TNotifyEvent //
property OnAsyncClick: TIWAsyncEvent //
property OnAsyncDoubleClick: TIWAsyncEvent //
property OnAsyncChange: TIWAsyncEvent // procedure Clear //

TIWComboBox 所在单元及继承链:
IWCompListbox.TIWComboBox

TIWComboBox 主要成员同 TIWListBox, 另多几个:


property Style: TIWCustomComboBoxStyle //两种样式: stNormal(默认)、stEnhanced
property ButtonColor: TIWColor //下拉按钮颜色; 须设置 Style = stEnhanced
property ButtonImage: TIWFileReference //下拉按钮图像; 须设置 Style = stEnhanced
property NonEditableAsLabel: Boolean //= True, 且 Editable = False 时, 将以 IWLabel 呈现

TIWOrderedListbox 所在单元及继承链:
IWCompOrderedListbox.TIWOrderedListbox

主要成员:


property Caption: TCaption       //标题
property MoveDownCaption: string //向下按钮的标题
property MoveUpCaption: string //向上按钮的标题
property ButtonWidth: Integer //上下两按钮的宽度
property Items: TStringList //
property ItemIndex: Integer //?
property MultiSelect: Boolean //能否多选
property ItemsFont: TIWFont //文本字体
property CaptionFont: TIWFont //标题字体
property ButtonsFont: TIWFont //按钮字体

使用 IntraWeb (16) - 基本控件之 TIWList、TIWListbox、TIWComboBox、TIWOrderedListbox的更多相关文章

  1. 使用 IntraWeb (24) - 基本控件之 TIWFileUploader、TIWFile

    TIWFileUploader 是基于 Ajax 的上传控件, 最初是 Andrew Valums 开发, 从 IntraWeb XIV 纳入并替换 TIWFile. 虽然从组件面板上还能看到 TIW ...

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

    TIWAutherList //通过一组户名与密码验证登陆 TIWAutherINI //通过记录户名与密码信息的 #Auth.ini 文件验证登陆 TIWAutherEvent //通过其 OnCh ...

  3. 使用 IntraWeb (28) - 基本控件之 TIWTemplateProcessorHTML、TIWLayoutMgrHTML、TIWLayoutMgrForm

    TIWTemplateProcessorHTML //使用外部的 html 文件做模板 TIWLayoutMgrHTML //直接输入 Html 文本做模板 TIWLayoutMgrForm //这应 ...

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

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

  5. 使用 IntraWeb (25) - 基本控件之 TIWRegion

    这应该是 IW 中最重要的容器了, 和它同父的还有 TIWTabControl TIWRegion 所在单元及继承链: IWRegion.TIWRegion 主要成员: property Align: ...

  6. 使用 IntraWeb (23) - 基本控件之 TIWTimer、TIWProgressBar、TIWProgressIndicator、TIWTimeEdit

    TIWTimer //和 TTimer 没多大区别, 它的默认事件现在是异步的(OnAsyncTimer), 在网络上使用 OnTimer 肯定是非常糟糕的 TIWProgressBar //进度条 ...

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

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

  8. 使用 IntraWeb (20) - 基本控件之 TIWGrid

    TIWGrid 最终通过 Html Table 呈现; 其每个 Cell 都是一个 TIWGridCell 对象, Cell 对象的 Control 属性非常好, 可以非常方便地嵌入其他控件. TIW ...

  9. 使用 IntraWeb (19) - 基本控件之 TIWTreeView

    这是个饱受非议的控件; 我通过尝试, 理解了非议, 也能理解作者. 总之向作者的思路靠拢吧, 还是不错的. TIWTreeView 所在单元及继承链: IWCompTreeview.TIWTreeVi ...

随机推荐

  1. 在 Linux 中安装 VMware Tools

    由于较新的Linux版本中都包含了vm的部分组件,导致直接安装VMware Tools失败.所以这里写了篇新的. 软件版本:VMware 12 Linux版本:Ubuntu Desktop 16.04 ...

  2. gbk文件转为utf8文件

    convmv -f gbk -t utf- --notest -r ./

  3. Space Replacement

    Write a method to replace all spaces in a string with %20. The string is given in a characters array ...

  4. 奈奎斯特定理 and 香农定理

    -----------------------整理自<21ic电子网> 奈奎斯特定理(Nyquist's Theorem)和香农定理(Shannon's Theorem)是网络传输中的两个 ...

  5. MySQL的Auto-Failover功能

    今天来体验一下MySQL的Auto-Failover功能,这里用到一个工具MySQL Utilities,它的功能很强大.此工具提供如下功能:(1)管理工具 (克隆.复制.比较.差异.导出.导入)(2 ...

  6. Matplotlib安装感想

    刚刚安装完numpy,看完书又涉及到matplotlib,哎,安装它浪费了我很多时间,但收获很多呀 下面介绍一下具体的安装过程: (1)http://matplotlib.org/downloads. ...

  7. UE没法远程修改文件

    UE没法远程修改文件修改ftp和sftp修改方式都没有作用,考虑可能是防火墙的作用,关闭防火墙可以.于是在控制面板->防火墙->修改策略中将UE的公用网络打开.

  8. k8s的imagePullSecrets如何生成及使用

    如果公司的docker仓库(harbor),需要用户认证之后,才能拉取镜像. 那如何在k8s里生成这个secret呢? 这个secret如何还原呢? 在k8s的yaml文件里如何实现呢? 这里提供几个 ...

  9. #JS 前端javascript规范文档

    一.规范目的 为提高团队协作效率,便于前端后期优化维护,输出高质量的文档. 二.基本准则 符合web标准,结构表现行为分离,兼容性优良.页面性能方面,代码要求简洁明了有序, 尽可能的减小服务器负载,保 ...

  10. [转] impress.js学习

    引子 断断续续用了好几天,终于把 impress.js 源码看完,作为刚入门的前端菜鸟,这是我第一次看 js 源码,最初还是比较痛苦的.不过还好,impress.js源码的注释相当清楚,每个函数和事件 ...