SetFormFieldChoiceTopIndex

表單欄位

描述

設定 Choice 清單方塊中第一個可見選項的零起算索引

語法

Delphi

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

參數

TopIndex 必須指向既有的選項;清單為空時為零

傳回值

成功傳回 1;欄位無效、不是清單方塊,或索引超出範圍時傳回 0