PC SOFT

WINDEV的在线文档

  • Characteristics of the item
  • To retrieve in an item the subscript of the element selected in the ListView control
  • To select in the listview the element corresponding to the value stored in the item:
  • To retrieve in an item the subscript of the element selected in the ListView control:
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Retrieving the value of a listview in an item

Characteristics of the item
A ListView control can be associated with an item found in a data file, a query, ...

The item associated with the listview will contain the subscript of the element selected in the listview.

To retrieve in an item the subscript of the element selected in the ListView control

To select in the listview the element corresponding to the value stored in the item:

1st case: the window is associated with a data file
All the controls associated with an item found in the data file (or in a linked file) will be assigned by 数据库表填充到屏幕.

2nd case: the window is not associated with a specific data file

Each control must be assigned individually. Use the following syntax:

<ListView Name> = <FileName>.<ItemName>

To retrieve in an item the subscript of the element selected in the ListView control:

1st case: the window is associated with a data file
All the items of the data file (or linked file) associated with a window control will be assigned by 屏幕填充到数据库表.

2nd case: the window is not associated with a specific data file

Each control must be assigned individually. Use the following syntax:
<FileName>.<ItemName> = <ListView Name>