wwShowCursor::ShowCursor

Renders a cursor to HTML into the internal Response object. This method generates the list, but you have to use GetOutput() to retrieve a string.

o.ShowCursor()

Return Value

nothing - output generated into an HTML object. Pass in an HTML object or use GetOutput() to retrieve the HTML result of the table.

Remarks

By default an HTML table is used for output unless number of cells exceeds the value in nForceToPreList which defaults to MAX_TABLE_CELLS (in WCONNECT.H) . When this number is exceeded ShowCursor reverts to a <pre> list display which can render much faster. The default size for MAX_TABLE_CELLS is 4000 cells.

Example

SELECT company, contact as Name, phone ;
   FROM wwDevRegistry ;
   INTO CURSOR TQuery

loSC = CREATEOBJECT("wwShowCursor")
loSC.lAlternateRows = .T.  && Alternate row colors
loSC.ShowCursor()

Response.HTMLHeader("Developer Listing")

*** This writes grabs and writes the output from ShowCurso
Response.Write( loSC.GetOutput() )

Response.HTMLFooter()

See also:

Class wwShowCursor


  Last Updated: 1/9/2005 | © West Wind Technologies, 2008