PC SOFT

WINDEV的在线文档

  • Element Identifier
  • Associate an identifier with an element
  • Reading the identifier of an element
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Associating an identifier with an element found in a TreeView control

Element Identifier
WinDev, WinDev Mobile and WebDev give you the ability to associate an identifier with each element found in a TreeView control. This identifier can be a character string or an integer.

This identifier can be used to store a specific information (number of the record corresponding to the element selected in the TreeView control for example).

Note: You also have the ability to associate an image with an element. See Associate an image with the elements for more details.

Associate an identifier with an element
To associate an identifier with an element found in a TreeView control, this identifier must be specified in the following programming functions:
树视图添加在树视图控件中添加一个";叶子";元素(以及所有必要的节点)。
树视图插入将一个叶节点插入到一个树视图控件的一个指定位置。
树视图修改在树视图控件里修改一个元素(节点或工作表)。

Reading the identifier of an element
To find out the identifier of an element, all you have to do is use the following function:
树视图获取标识符返回一个树视图控件的一个于元素(几点或树叶)相关的标识符。