• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

Object Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/Object Functions/objectFind

objectFind

72 views 0 Updated on December 29, 2023 hybrid-solutions

Syntax

Public Function objectFind(chart_Id As Long, name As String) As Integer

Description

This function is used to return object ID by a given object name on the chart.

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart, the value of type Long.
name The name of the searched object, the value of type String.

Return value

Returns the object ID.In error casecall GetlastError() function to get the detailed error information.

Sample

 Public Sub main () AlertMessage ObjectFind (0,ObjectName)  End sub

See Also

  • objectTotal
  • ObjectLabelMove
  • ObjectMove

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  objectTotal

ObjectDelete  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.