Share via


Scale.DataEventEnabled Property

Indicates whether a DataEvent event is delivered when input data is queued.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Boolean
returnValue = scale1.DataEventEnabled

Dim sampleValue As Boolean
scale1.DataEventEnabled = sampleValue

Syntax

'Declaration
Public MustOverride Property DataEventEnabled() As Boolean
public abstract bool DataEventEnabled {get; set;}
public: property virtual Boolean DataEventEnabled{
    Boolean get();
    Void set(Boolean);
}
public abstract boolean get_DataEventEnabled();
public abstract void set_DataEventEnabled(boolean);
public abstract function get DataEventEnabled() : Boolean;
public abstract function set DataEventEnabled(Boolean);

Remarks

If TRUE, a DataEvent is delivered as soon as input data is queued. If changed to TRUE and some input data is already queued, then a DataEvent event is delivered immediately. (Note that other conditions may delay "immediate" delivery: if FreezeEvents is TRUE or another event is already being processed at the application, the DataEvent remains queued until the condition is corrected.)

If FALSE, input data is queued for later delivery to the application. Also, if an input error occurs, the ErrorEvent is not delivered while this property is FALSE.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Scale Class
Scale Members
Microsoft.PointOfService Namespace
DataEvent