GRAPH.HiLite

Previous  Next

 

nStatus = GRAPH.HiLite(  BYVAL nControl AS INTEGER,

                         BYVAL element  AS INTEGER,

                        [BYVAL state    AS INTEGER = NULL] ) AS INTEGER

 


 

Hilites the specified element by increasing the line width by 1.  The element number is returned by the ADDELEMENT function.  IF state is omitted, the HiLite state of the element is returned.

 

Example:

 

DIM data_x(100) AS REAL

DIM data_y(100) AS REAL

DIM i AS INTEGER

 

FOR i = 1 TO 100

  data_x(i) = i

  data_y(i) = SIN( i )

NEXT i

 

nElement = GRAPH.AddElement( nControl, data_x, data_y )

GRAPH.HiLite( nControl, nElement, ON )