SetFormFieldCaptionA
Formularfelder
Beschreibung
Das abschließende A bezeichnet den ANSI-Einstiegspunkt (char) der DLL; die ActiveX/COM-Schnittstelle stellt nur die Unicode-Form bereit. Das Verhalten entspricht SetFormFieldCaption, und Zeichenfolgenargumente werden anhand der aktuellen Codepage von SetAnsiMode interpretiert
Legt die Beschriftung des Formularfelds fest. Dies gilt nur für Formularfelder vom Typ Schaltfläche, Kontrollkästchen und Optionsfeld (Radiobutton).
Syntax
Delphi
Function DLSetFormFieldCaptionA(InstanceID, Index: Integer; NewCaption: PAnsiChar): Integer;
DLL
int DLSetFormFieldCaptionA(int InstanceID, int Index, const char* NewCaption);
Parameter
| Index | Der Index des Formularfelds |
|---|---|
| NewCaption | Die neue Beschriftung des Formularfelds. |
Rückgabewerte
| 0 | Das Formularfeld wurde nicht gefunden oder die Parameter waren ungültig |
|---|---|
| 1 | Die Beschriftung des Formularfelds wurde erfolgreich festgelegt |