23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

then the field operates as before.<br />

Bit No.<br />

Dec.<br />

Value<br />

0 1 0x0001 Invisible<br />

1 2 0x0002 Locked<br />

2−13 16380 0x7FFC Reserved<br />

14 16384 0x4000 HasFocus<br />

15 32768 0x8000 EditActive<br />

Hex Value Name Description<br />

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

This bit is set by the user (or control application) in order to<br />

make the field invisible. If the bit is 0, the field will be displayed<br />

normally.<br />

The bit can be switched at any time. The picture is then<br />

redrawn accordingly and the corresponding field is displayed<br />

as either visible or invisible. The update occurs at a maximum<br />

of once per second.<br />

Input can be locked by setting this bit to 1. This function can be<br />

used in place of or in addition to the normal password levels.<br />

This setting is checked when the field is selected. In other<br />

words, when the cursor moves over the field or it is touched<br />

(touch screen).<br />

This bit is only evaluated for input and touch−operated fields.<br />

Other fields do not normally react to user input.<br />

These bits are reserved for future updates and should be<br />

initialized to 0 before starting the application. This ensures that<br />

future updates will not have unwanted effects on the<br />

application.<br />

These bits cannot be changed or evaluated during runtime.<br />

This bit is set to 1 by the editor when the input field is marked<br />

as active (i.e. has the input focus). If another input field is<br />

selected, then this bit is set back to 0.<br />

Using this bit, the control application can determine which<br />

input field has just been chosen by the user and can respond<br />

accordingly. This could be useful for displaying appropriate<br />

help text in a status bar, for example.<br />

This bit is only set for input fields and is reserved for all other<br />

fields.<br />

This bit is set to 1 by the editor if the input field has been<br />

opened for editing. It is reset to 0 when the input has been<br />

completed. This allows a more exact determination of the<br />

editing status of a field than would normally be possible using<br />

only the completion address.<br />

This bit can be evaluated in the control application, so that<br />

variables which are acquired over a network (i.e. INA client<br />

FBKs) can be synchronized accordingly.<br />

If the bit changes from 0 to 1, the variable must be excluded<br />

from being read so that it is not overwritten by the network<br />

copy routine after editing.<br />

When the bit is changed from 1 to 0, the variable must be<br />

transferred (written) once to the remote station. The variable<br />

can then be enabled again for reading.<br />

This bit is only set for input fields and is reserved for all other<br />

fields.<br />

362 4.8.2.3 Application Possibilities

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!