ComponentOne Query 8.0
Quick Reference for All Methods

Add

Adds a new item to the collection

AddItem

Adds a new query item to the control

BuildSQL

Builds SQL statement

Clear

Removes all query items from the control

DeleteItem

Deletes a query item from the control

ExitEdit

Ends editing of a constant

FieldByID

Returns information about the folder field specified by its unique ID

FieldNameToFieldID

Returns the field's unique schema ID given the field name

FindByID

Positions the Item object on the item specified by its unique ID in the item tree

GenerateHTML

Generates HTML for an item. Used in C1QRender() script with ManualRender=True

GetItemIDAt

Returns the ID of the item at specified point coordinates (X,Y)

LoadFromXML

Loads query from a string

LoadFromXMLFile

Loads query from a file

LoadSchemaFromFile

Loads the schema from a file to the control

LoadTemplatesFromFile

Loads templates from a file

MoveToChild

Positions the Item object on the specified child item

MoveToFirstChild

Positions the Item object on the first child of the item on which it is currently positioned

MoveToNext

Positions the Item object on the next sibling of the item on which it is currently positioned

MoveToPrevious

Positions the Item object on the previous sibling of the item on which it is currently positioned

MoveToRoot

Positions the Item object on the root of the item tree

PerformMainMenuAction

Performs the action that would have been triggered by a main menu selection

Remove

Removes an existing item from the collection

Render

Renders the current state of the query items on the control surface

RetrieveFieldsFromDataSource

Retrieves the field list from DataSource to the Fields Collection, in data source mode

SaveToXML

Saves query to a string

SaveToXMLFile

Saves query to a file

ShowFolderFields

Shows or hides folders/fields in schema and field menu

SetCurrentElement

Makes an element current (selected) in the current item

SetLookup

Retrieves lookup list of values from a data source

SetTemplateAttribute

Modifies an attribute in HTML templates defining control's look and UI

StartEdit

Activates editing of the active item's selected element

VarTypeFromDataType

Returns the variant data type corresponding to a field data type

WrapHTML

Adds the enclosing tags to an HTML representing an item. Used in C1QRender() script with ManualRender=True

See Also

 

 


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

Product Support Forum  |  Documentation Feedback