SetFormFieldChoiceTopIndex

表单字段

描述

设置 Choice 列表框第一个可见选项的从零开始索引

语法

Delphi

Function SetFormFieldChoiceTopIndex(Index, TopIndex: Integer): Integer;

参数

TopIndex 必须标识一个现有选项,或在列表为空时为零

返回值

成功时返回 1;字段无效、不是列表框或索引超出范围时返回 0