ComponentOne Query 8.0
CurrentElement Property

Syntax

C1QueryFrame.Item.CurrentElement

Notes

Read-only at run time. Unavailable at design time. Type: Enumeration. Property applies to QueryItem object.

Values

Constant Value and Name

Meaning

0 – c1qElemTypeNone

No element in focus

1 – c1qElemTypeConn

Connective in a complex condition

2 – c1qElemTypeLS

Left side of an elementary condition item, or field in a result field item

3 – c1qElemTypeComp

Comparison in elementary condition

4 – c1qElemTypeRS

Right side of elementary condition

5 – c1qElemTypeLSKind

Left side kind in advanced elementary condition

6 – c1qElemTypeRSKind

Right side kind in advanced elementary condition

7 – c1qElemTypeSort

Sort in a result field item

8 – c1qElemTypeFunction

Function in a result field item

Description

This property returns the item’s element in focus, that is, currently selected by the user. This property is read-only, to change the element selected in the current item, call the SetCurrentElement method.

See Also

Accessing and Modifying Query Items

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback