ComponentOne Query 8.0
GenerateHTML Method

Syntax

C1QueryFrame.GenerateHtml(Text, Item)

Notes

Method applies to C1QueryFrame control.

Arguments

Text is an HTML text, possibly containing special C1Query tags, see Special tags.

Item is a QueryItem object defining the item context for tag substitution. The Item argument is always the same object passed to C1QRender() script as its argument. Passing the Item argument to this method, use item navigation methods to position the Item object, see Accessing and Modifying Query Items.

Return Value

HTML text where all special tags are substituted with their values in the item specified by the Item argument.

Description

This method is used exclusively in C1QRender() scripts, see Customizing the UI with Scripts.

Using this method you can substitute special tags, denoting various item elements, with HTML texts used by C1Query to represent these elements. See Customizing the UI with Scripts for details.

See Also

Tutorial 7 - Customizing the User Interface With Scripts

 

 


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

Product Support Forum  |  Documentation Feedback