AxIntVar
AxIntVar Id, VarName$, Value
 
Parameters:

    Id = Id of an ActiveX Object
    VarName$ = Variable name
    Value = Integer value
Returns: NONE
 

     AxIntVar sets an integer variable of an ActiveX object.



Mini Tutorial:


  
; Include ActiveX Library
  #Include "ActiveX"
  
  
; Register the AxDemo Dll
  RegisterAxDll("AxDemo.Dll")
  
; create a new object
  Id = NewAx("AxDemo.TestClass")
  
; set the variable called strVar
  AxIntVar(Id , "intVar"42)
  
; print the content of the variable
  Print GetAxIntVar(Id, "intVar")
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  


Please NOTE: This code is for example purposes only.



This example would output.

  
  42
  




 
Related Info: About the ActiveX library | AxFloatVar | AxStringVar :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com