Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

GUI

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/GUI/GUIKeyPress

GUIKeyPress

4 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

Public Function GUIKeyDown(formId As String, controlID As String, keyCode As Integer)

Description

This function used to generate handle the key press event on a control.

Parameters

Key Description
formId Form identifier, must be a number greater than 3000 and less than 10,000.
controlID Control identifier. If it was an empty string, this means that the event has been raised for the form.
keyCode The pressed key name

Sample

Public Sub main() CreateVTLForm "3100" , false  CreateVTLControl "3100" , "btnA" , GUI_BUTTONEnd SubPublic Sub GUIKeyPress(formId, controlID,keyCode) If controlID = "btnA" then    SetGUIObject CSTR(formId) , "" ,  GUI_PROPERTY_CAPTION , CSTR(KeyCode) End IfEnd Sub


See Also

  • GUIKeyUp
  • GUITreeExpand
  • GUITreeCheck


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  GUIKeyDown

GUIKeyUp  

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 2023 hybridsolutions.com. All Rights Reserved.