IEditBoxInputHandler.VariableWritten (METH)

METHOD VariableWritten : BOOL

This method will be called after a variable has been written by the user of the visualization. The variable was written using the input field. The call to this method will be done from the VISU_TASK so take care when you do work that needs synchronization with other tasks.

InOut:

Scope

Name

Type

Comment

Return

VariableWritten

BOOL

Input

pVar

POINTER TO BYTE

A pointer to the variable that was written. “Pointer To Byte” is used here as a placeholder for the concrete type of the written variable. If you want to access the changed variable, you can cast this pointer to the correct type (eg. a pointer to DWORD etc.). The information about the type is given in the parameter <see cref=”varType”/>

varType

Visu_Types

The type of the written variable

iMaxSize

INT

The maximum size of the variable in bytes (will only be valid if the type is a stringtype, otherwise this value will be smaller than 0).

pClient

POINTER TO VisuStructClientData

A pointer to the client structure that was writing this value