Skip to main content Skip to complementary content

SelectListObjectAlternative Method

Overloads

SelectListObjectAlternative(String, Boolean)

Selects all alternative values in a specific field.

The member Change returns the handles of the objects that are updated following the selections.

qSuccess is set to true if the selections are successful and is set to false in the following cases:

* The object contains some invalid fields (fields that are not in the data model).

* The selection applies to a locked field.

* A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

SelectListObjectAlternative(String, Boolean)

Selects all alternative values in a specific field.

The member Change returns the handles of the objects that are updated following the selections.

qSuccess is set to true if the selections are successful and is set to false in the following cases:

  • The object contains some invalid fields (fields that are not in the data model).
  • The selection applies to a locked field.
  • A range selection is performed and the parameter OneAndOnlyOne is set to true in the definition of the object.

Declaration

      bool SelectListObjectAlternative([QixName("qPath")] string path, [QixName("qSoftLock")] bool softLock = false)
    

Parameters

Type Name Description
System.String path

Path to the definition of the object to be selected. For example, /qListObjectDef .

System.Boolean softLock

Set to true to ignore locks; in that case, locked fields can be selected. The default value is false.

Returns

Type Description
System.Boolean

Remarks

This method applies to list objects (objects with one dimension).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!