10200 : OnSchemaHitInfo event

Question

Is it at least possible to get the text and the Index of the column on which the nodes are added in the OnSchemaHitInfo event.

Answer

Private Sub ganCapacity_OnSchemaHintInfo(ByVal sender As Object, ByVal e
 As
AxphGantXControl.IphSchemaXEvents_OnSchemaHintInfoEvent) Handles
ganCapacity.OnSchemaHintInfo
  Debug.WriteLine(e.theStart.ToString())

  ‘ Like this; I have not compiled it so please excuse any typos…
  if not (e.theObject is nothing) then
    dim col as IphDataEntity_SchemaTime
    set col=phSchemaX.Columns.Items(e.theObject.Col)
    Debug.WriteLine(col.Text)
  end if
End Sub

Leave a Reply