Datalogic .NET SDK

KeybdGetMultitapDelay (Method)

 

Syntax

 

   public static KbdMultitapDelay KeybdGetMultitapDelay();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns the delay setting used by the multitap feature when the unit is in alpha mode.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

 

-

 

 

 

 

[returns]

KbdMultitapDelay

 

A Datalogic.API.Device.KbdMultitapDelay enumeration is returned. This method will return Datalogic.API.Device.KbdMultitapDelay.DelayError if this method is not supported by the installed keypad.

[on error]

KbdMultitapDelay.DelayError

 

-

 

 

Example

 

       private void SetKeyboardDisplay()

       {

             // Keyboard Delay

             Device.KbdMultitapDelay delay = Device.KeybdGetMultitapDelay();

             if (delay == Device.KbdMultitapDelay.DelayError)

             {

                    cbDelay.Items.Add("Not Supported");

                    cbDelay.SelectedIndex = 0;

                    cbDelay.Enabled = false;

                    clblDelay.Enabled = false;

             }

             else

             {

                    // Populate the multitap combo box

                    for(int i = 0; i < 10; i++)

                    {

                       cbDelay.Items.Add(((Device.KbdMultitapDelay)i).ToString());

                    }

                    cbDelay.SelectedIndex = (int)delay;

             }

       }

 

 

 

See Also

Device.KbdMultitapDelay (Enum), Example #022.

 

 

Copyright © Datalogic ADC. All Right Reserved