GetFormFieldKidTempIndex

Champs de formulaire

Description

Renvoie un indice temporaire pour les champs enfants d'un groupe bouton radio ou case à cocher. 1 sélectionne le premier, 2 le second, etc

Le nombre d'enfants est obtenu avec GetFormFieldKidCount. Cet indice temporaire est utilisable avec les fonctions de champ ordinaires telles que GetFormFieldTabOrder et GetFormFieldValue

Pour mettre à jour le sous-nom d’un champ à choix, vous devez utiliser

Utilisez plutôt SetFormFieldSubChoice

Syntaxe

Delphi

Function TPDFlib.GetFormFieldKidTempIndex(Index, KidIndex: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldKidTempIndex(Index As Long, subindex As Long) As Long

DLL

int DLGetFormFieldKidTempIndex(int InstanceID, int Index, int subindex);

Paramètres

IndexIndice du champ de formulaire de type bouton radio SubIndex Indice du sous-champ. Le premier sous-champ a l'indice 1