摘要:
Delphi TcxTreeList 读取 TcxImageComboBoxItem类型的值:Node.Values[wiNodeLevel.ItemIndex];//值Node.Texts[wiNodeLevel.ItemIndex];//文本 阅读全文
posted @ 2013-08-28 16:54 ╰★张志峰★╮ 阅读(627) 评论(0) 推荐(0)
|
||
|
摘要:
Delphi TcxTreeList 读取 TcxImageComboBoxItem类型的值:Node.Values[wiNodeLevel.ItemIndex];//值Node.Texts[wiNodeLevel.ItemIndex];//文本 阅读全文
posted @ 2013-08-28 16:54 ╰★张志峰★╮ 阅读(627) 评论(0) 推荐(0)
摘要:
TcxTreeList 怎们显示下拉列表, 操作如下:1.定义一个TStringlist中存储你的信息。2.然后选定在TcxTreeList的哪个列要变成TCombobox, 如下图: 3. 进行赋值,代码如下: TcxComboBoxProperties(wcMappingFieldCode.Properties).Items.AddStrings(FFieldList); 这样就有值了, 不过这个代码必须保证表格至少有一行,才不会报错。4.设置TcxTreelst显示下拉列表 OK,运行程序,就可以看到效果了。 阅读全文
posted @ 2013-08-28 14:49 ╰★张志峰★╮ 阅读(831) 评论(0) 推荐(0)
摘要:
Delphi TcxtreeList控件说明树。cxTreeList属性:Align:布局,靠左,靠右,居中等AlignWithMargins:带边框的布局Anchors:停靠 (akTop上,akBottom下,akLeft左,akRight右)Bands: 分组面板Caption:面板标题 AlignHorz:文字水平位置(居中,靠左,靠右) AlignVert:文字垂直位置(居中,靠左,靠右)Glyph:面板图标 GlyphAlignHorz:图标水平位置(居中,靠左,靠右) GlyphAlignVert:图标垂直位置(居中,靠左,靠右) MultiLine: 面板文字分多行 ShowE 阅读全文
posted @ 2013-08-28 10:39 ╰★张志峰★╮ 阅读(2801) 评论(0) 推荐(0) |
||