Control specific operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Control specific operations >

Control specific operations

LBE. - Listbox Entry

Previous Top Next


MiniRobotLanguage (MRL)

 

LBE. Command

Listbox Entry

 

Direct Engine_01

 

Intention

 

This command is used to select an item in a Listbox Control. It is also used to check checkmarks in Listbox controls "Listbox Checkmark".

 

There are several modes of operation. In the simplest mode, LBE. gets just one parameter. And that is the entry to locate. You can specify 3.2 Standard-Search Pattern.

And you can use variables for any of the parameters.

 

LBE.Entry-Name

 

If there are multiple equal named Entries, you can additionally specify a number.

 

LBE.Entry-Name|number or formula in ()

' Looks like

LBE.Entry Nr.|5

 

If there is a checkmark that needs to be checked, you can specify an third parameter:

 

' without the number parameter (default is 1)

LBE.Entry Nr.||1

' or if you need the number parameter P2 also:

LBE.Entry Nr.|2|1

 

 

 

Syntax

 

LBE.P1|P2[|P3]

 

 

Parameter Explanation

 

P1 - Entry name. Can use 3.2 Standard-Search Pattern

 

P2 - (optional) number of fitting entry ( 1- first, 2 - second etc.).

          if omitted, default value is 1

 

P3 - (optional) value for internal "Buttoncheck"

    (Listbox-Checkmarks).

 

    These are:

0 - uncheck checkmark (direct engine)

1 - check checkmark   (direct engine)

2 - uncheck checkmark (compatible engine)

3 - check checkmark   (compatible engine)

 

 

 

Example

 

'********************************************

' Demo for LBE.

'********************************************

LBE.Entry Nr.

LBE.Entry Nr.||1

LBE.Entry Nr.||(1-$$VAL)

LBE.Entry Nr.|($$NUM-1)|1

 

END.

 

 

 

Remarks

 

Works with x32 and also with x64 Listbox-Controls.

 

 

 

Limitations:

 

This command is generally for use with Listbox Controls. A good hint is, when the Acc.-Inspector shows a role of: 34,36 or 44. In these cases you can try using the LBE. command. There may be controls out there that do not react on this command. This is not a bug, but a result of the "Inner living" of that specific control.

 

 

 

See also:

 

    SAO. - Search Accessible Object

    !. NAV - NAVigate in Dialog

    BTC. - Button-Check

    MLI - Mouse Left Click quIckly (Invinsible)