Account Type
Posted by Yousef Ibrahim, Last modified by Abdullah Almasharfah on 10 December 2018 07:29 PM

'''################################################
'''###Script Name: Account Type                                                           ###
'''###Script Description: Shows your account type into a message box      ###
'''###Author: Yousef Najjar                                                                  ###
'''###Website: http://www.hybrid-solutions.com                                    ###
'''###Date: 22 / March / 2012                                                             ###   
'''###############################################

Public Sub main()

Dim property_id as VTLGeneral.ENUM_ACCOUNT_INFO_INTEGER     

property_id = VTLGeneral.ENUM_ACCOUNT_INFO_INTEGER.ACCOUNT_TRADE_MODE

ClientCode.AccountInfoInteger(property_id)

IF property_id=1 Then

GUI.MsgDialog("Demo Account")

ElseIF property_id=2 Then

GUI.MsgDialog("Contest Account")

ElseIF property_id=3 Then

GUI.MsgDialog("Real Account")

End IF

End Sub



See Also


Back to VTL Server Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions