SetFormFieldResetActionA

Campos de formulário

Descrição

O A final indica o ponto de entrada DLL ANSI (char); a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de SetFormFieldResetAction e os argumentos string são interpretados usando a página de código atual de SetAnsiMode

Adiciona uma ação de reset a um campo de formulário de botão Quando acionada, todos os campos de formulário serão redefinidos para seus valores padrão

Sintaxe

Delphi

Function DLSetFormFieldResetActionA(InstanceID, Index: Integer; ActionType: PAnsiChar): Integer;

DLL

int DLSetFormFieldResetActionA(int InstanceID, int Index, const char * ActionType);

Parâmetros

IndexThe index of the form field
ActionTypeThe action type:E = An action to be performed when the cursor enters the annotation's active areaX = An action to be performed when the cursor exits the annotation's active areaD = An action to be performed when the mouse button is pressed inside the annotation's active areaU = An action to be performed when the mouse button is released inside the annotation's active areaFo = An action to be performed when the annotation receives the input focusBl = An action to be performed when the annotation loses the input focus (blurred)K = An action to be performed when the user types a keystroke into a text field or combo box or modifies the selection in a scrollable list box. This allows the keystroke to be checked for validity and rejected or modified.F = An action to be performed before the field is formatted to display its current value. This allows the field's value to be modified before formatting.V = An action to be performed when the field's value is changed. This allows the new value to be checked for validity.C = An action to be performed in order to recalculate the value of this field when that of another field changes

Valores retornados

0Não foi possível definir a ação do campo
1Success