GetCharLinePos
Syntax
Description
Call
this method to get the character line of the cursor in the SQL
pane editor of ELS-QB component.
Remarks
GetCharLinePos
method
returns the line number of the SQL
pane editor cursor.
Example
This
sample code shows how to use GetCharLinePos and GetCharColPos methods to
inform the user of the position of cursor in the SQL pane editor of ELS-QB Control.
Private Sub
ShowCursorPosition()
Dim sText
sText
= " Line: " & ELS_QBCtrl.
GetCharLinePos()
& _
"
Col:" & ELS_QBCtrl.GetCharColPos()
frmMDI.stBarMDI.Panels.Item(1).Text
= sText
End
Sub