Knowledgebase : Technical Support > API > Client API's/VTL > VTL Server Scripts > Methods
SYNTAX Public Function Bars(ByVal symbolId As String, ByVal period As ENUM_PERIOD) As Integer DESCRIPTION This function is used to return the number of candle for the specific symbol on period. PARAMETERS Parameter  Description symbolId ...
SYNTAX Public Function GetChartHistory(ByVal symbolId As String, ByVal period As ENUM_PERIOD, ByVal value As ENUM_HISTORY_TYPE,ByVal FromDate As String,ByVal toDate As String) As Object() DESCRIPTION This function is used to return the open , close , h...
An object that holds the open position data. PROPERTIES Constant  Description  BuySell [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855] Define buy or sell ClosePrice Closing price Commission ...
An object that holds the symbol data. PROPERTIES Constant  Description Name [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855] The symbol name as string. Read–only ID The symbol ID as string. Read–onl...
SYNTAX Public Sub hide() DESCRIPTION This method is used to hide form. SAMPLE Dim frm as VTLGeneral.VTLForm 'Declaring a form Dim frm1 as VTLGeneral.VTLForm 'Declaring a form Dim btnHide as VTLGeneral.VTLControls.CChartObjectButton Dim btnShow as VTL...
SYNTAX Public Sub Show() DESCRIPTION This method is used to show form. SAMPLE  Public Sub main()         Dim frm As new VTLGeneral.VTLForm("frm1")         Dim lbl As new VTLGeneral.VTLControls.CChartObjectLabel("lb1")         frm.AddVTLControl(lbl...
SYNTAX Public Sub AddVTLControl(ByVal value As VTLControls.control) DESCRIPTION This method is used to add a control to form. PARAMETERS Parameter  Description value Control SAMPLE  Public Sub main()         Dim frm As new VTLGeneral....
DESCRIPTION An object that holds form data. PROPERTIES Constant  Description Text [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855] Get or set listView text Caption [http://www.hybridsolutions.com/supp...
DESCRIPTION An object that holds listView column data. PARAMETERS Parameter  Description Text [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855] Get or set list view item text Key Get or set item key...
SYNTAX  Public Sub AddHeader(ByVal columns As List(Of ListViewcolumn)) DESCRIPTION An object that hold listView item data. PARAMETERS Parameter  Description  Text [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View...
SYNTAX  Public Sub RemoveItemByKey(ByVal value As List(Of VTLControls.ListViewItem)) DESCRIPTION To remove item base on item key. PARAMETERS Parameter  Description  columns List of ListViewItem [http://www.hybridsolutions.com/support/ind...
SYNTAX  Public Sub RemoveItemByIndex(ByVal value As List(Of VTLControls.ListViewItem)) DESCRIPTION To remove item base on index. PARAMETERS Parameter  Description value List of ListViewItem [http://www.hybridsolutions.com/support/index.p...
SYNTAX Public Sub ClearListItems() DESCRIPTION This method is used to clear all items in list view. SAMPLE Dim colvalues as System.Collections.Generic.List(Of VTLGeneral.VTLControls.ListViewcolumn) Dim colvalue as VTLGeneral.VTLControls.ListViewcolum...
SYNTAX Public Sub AddListItem(ByVal value As List(Of VTLControls.ListViewItem)) DESCRIPTION This method is used to add item in list view. PARAMETERS Parameter  Description value List of ListViewItem [http://www.hybridsolutions.com/suppor...
SYNTAX Public Sub RemoveColumnByKey(ByVal columns As List(Of ListViewcolumn)) DESCRIPTION This method is used to remove the column base on column key. PARAMETERS Parameter  Description columns List of ListViewColumn [http://www.hybridsol...
SYNTAX Public Sub RemoveColumnByIndex(ByVal columns As List(Of ListViewcolumn)) DESCRIPTION This method is used to remove column base on index . PARAMETERS Parameter  Description columns List of ListViewcolumn [http://www.hybridsolutions...
SYNTAX Public Sub ClearColumns() DESCRIPTION This method is used to clear all items in list view. SAMPLE  Dim colvalues as System.Collections.Generic.List(Of VTLGeneral.VTLControls.ListViewcolumn)  Dim colvalue as VTLGeneral.VTLControls.ListViewcolum...
SYNTAX Public Sub AddHeader(ByVal columns As List(Of ListViewcolumn)) DESCRIPTION This method is used to add a list of columns. PARAMETERS Parameter  Description columns List of ListViewcolumn [http://www.hybridsolutions.com/support/inde...
DESCRIPTION An object that will hold listView data. PROPERTIES Constant  Description Text [http://www.hybridsolutions.com/support/index.php?/Knowledgebase/Article/View/1855] Get or set listView Text Caption [http://www.hybridsolutions....
DESCRIPTION To remove the item from combo box control, this function overloads 2 variants like the following :  Public Overloads Sub RemoveItem(ByVal index As Integer)Public  Public Overloads Sub RemoveItem(ByVal values As List(Of Integer)) PARAMETERS...
SYNTAX  Public Sub Refresh() DESCRIPTION Refresh the data in combox control. SAMPLE  Public Sub main()         Dim combox As new VTLGeneral.VTLControls.CChartObjectCombo("com1")         combox.AddItem("text1")         combox.Refresh()   End Sub ...
SYNTAX Public Sub Clear() DESCRIPTION This method is used to clear all data in combox control. SAMPLE  Dim frm as VTLGeneral.VTLForm  Dim combox as VTLGeneral.VTLControls.CChartObjectCombo  Public Sub main()       frm = New VTLGeneral.VTLForm("frm1...
DESCRIPTION To add an item to combo box control, this function overloads 2  variants like the following:  Public Overloads Sub AddItem(ByVal item As String)  Public Overloads Sub AddItem(ByVal values As List(Of String)) PARAMETERS Parameter  De...
Help Desk Software by Hybrid Solutions