使用 IntraWeb (16) - 基本控件之 TIWList、TIWListbox、TIWComboBox、TIWOrderedListbox
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的更多相关文章
- 使用 IntraWeb (24) - 基本控件之 TIWFileUploader、TIWFile
TIWFileUploader 是基于 Ajax 的上传控件, 最初是 Andrew Valums 开发, 从 IntraWeb XIV 纳入并替换 TIWFile. 虽然从组件面板上还能看到 TIW ...
- 使用 IntraWeb (29) - 基本控件之 TIWAutherList、TIWAutherINI、TIWAutherEvent
TIWAutherList //通过一组户名与密码验证登陆 TIWAutherINI //通过记录户名与密码信息的 #Auth.ini 文件验证登陆 TIWAutherEvent //通过其 OnCh ...
- 使用 IntraWeb (28) - 基本控件之 TIWTemplateProcessorHTML、TIWLayoutMgrHTML、TIWLayoutMgrForm
TIWTemplateProcessorHTML //使用外部的 html 文件做模板 TIWLayoutMgrHTML //直接输入 Html 文本做模板 TIWLayoutMgrForm //这应 ...
- 使用 IntraWeb (26) - 基本控件之 TIWMenu
TIWMenu 的任务是让原来的 TMainMenu 呈现在网页上, 通过其 AttachedMenu 属性关联一个 TMainMenu 是必需的. TIWMenu 所在单元及继承链: IWCompM ...
- 使用 IntraWeb (25) - 基本控件之 TIWRegion
这应该是 IW 中最重要的容器了, 和它同父的还有 TIWTabControl TIWRegion 所在单元及继承链: IWRegion.TIWRegion 主要成员: property Align: ...
- 使用 IntraWeb (23) - 基本控件之 TIWTimer、TIWProgressBar、TIWProgressIndicator、TIWTimeEdit
TIWTimer //和 TTimer 没多大区别, 它的默认事件现在是异步的(OnAsyncTimer), 在网络上使用 OnTimer 肯定是非常糟糕的 TIWProgressBar //进度条 ...
- 使用 IntraWeb (22) - 基本控件之 TIWCalendar
TIWCalendar: 日历控件, 继承于 TIWCustomGrid, 所以它和 TIWGrid 共同属性特多. 它的 Cell 是 TIWCalendarCell 对象, 直接从 TIWGrid ...
- 使用 IntraWeb (20) - 基本控件之 TIWGrid
TIWGrid 最终通过 Html Table 呈现; 其每个 Cell 都是一个 TIWGridCell 对象, Cell 对象的 Control 属性非常好, 可以非常方便地嵌入其他控件. TIW ...
- 使用 IntraWeb (19) - 基本控件之 TIWTreeView
这是个饱受非议的控件; 我通过尝试, 理解了非议, 也能理解作者. 总之向作者的思路靠拢吧, 还是不错的. TIWTreeView 所在单元及继承链: IWCompTreeview.TIWTreeVi ...
随机推荐
- gcc初步窥探
由于没有上过Linux编程这门课,所以Linux学得很水啊!!用来用去都是ls -al ; cd .. ;这些渣命令,尤其gcc都不知道什么东西来的,所以先学一下吧. 一.程序的编译过程 对于GUN编 ...
- 利用requestAnimationFrame和Tween算法实现兼容所有浏览器的运动动画,直接秒杀Css3动画
以下贴出Tween的代码: /* * Tween.js * t: current time(当前时间): * b: beginning value(初始值): * c: change in value ...
- CMSZU站群管理系统 升级到 v1.8 [源码下载]
CmsZu 简介 CMSZU即CMS族,是个网站内容管理平台,基于PHP+MYSQL技术创建,源码开放. CmsZu 更新说明 V1.8 修改了些bug 完善数据库管理 -> 数据库表管理的 字 ...
- expect 交互 之双引号较长变量
交互双引号较长变量 #!/bin/bash RemoteUser=xuesong12 Ip=192.168.1.2 RemotePasswd=xuesong Cmd="/bin/echo ...
- lucene修改索引——(六)
原理: 修改的原理是先删除,后增加一个,这也是常用的一种修改的方式. 删除的文档的id不会被新增加的文档占用,类似于mysql的自增,当删除一个id=2时,以后id=2就是空着的,不会上来一个把2给占 ...
- Java的IO文档
1. File类 1.1. File类说明 存储在变量,数组和对象中的数据是暂时的,当程序终止时他们就会丢失.为了能够永 久的保存程序中创建的数据,需要将他们存储到硬盘或光盘的文件中.这些文件 ...
- 转:Citrix虚拟化--转自CSDN
http://blog.csdn.net/kkfloat/article/category/1430751/3
- 【C++】wchar、char格式化符输出
VC.BCB.MinGW Linux下的GCC.C99标准 printf wprintf printf wprintf s char wchar_t char S wchar_t char * hs ...
- RTS与CTS的含义【转】
转自:http://www.cnblogs.com/sunyubo/archive/2010/04/21/2282176.html 一.RS232标准中的RTS与CTS RTS,CTS------请求 ...
- 001_软件waf
一.优秀的软件waf开源软件 <1>openwaf介绍 http://www.oschina.net/p/openwaf http://git.oschina.net/miracleqi ...