In Cicode (Citect environment) 32-bit you can use any of the following versions:
/COM indicates the 32-bit edition of the ActiveX version
The application built using /COM version runs on any Windows 32 or 64-bit machine.
In Cicode (Citect environment) 64-bit you can use any of the following versions:
/COM/64 indicates the 64-bit edition of the ActiveX version
The application built using /COM/64 version runs on Windows 64-bit machine only. The application built using /COM/64 version cannot run on Windows 32-bit machine.
If you want to use your application on 32 and 64-bit machines, you can go for:
/COM/ANY indicates the 32 and 64-bit editions of the ActiveX versions
For example, the Misc property controls various graph settings.
In VB, I used the following code to set one of these options:
Misc(3) = 7 ' exDigits(3)
To replicate this in Cicode, I tried:
_OBJECTSetProperty(objGraph, "Misc3", 7);
_ObjectCallMethod(objGraph, "Misc", 3, 7);
However, these attempts didn't workâthe value of Misc(3) remained unchanged. Both lines execute without errors (returning 0), but no update is applied.
The template/x-script code offers a simple way to access a control or object's properties, methods, and events using string expressions. Developed by Exontrol, this lightweight scripting implementation runs independently of any VB engine. Most of our components support x-script through methods like Template, ExecuteTemplate, or AttachTemplate.
To set a property using this approach, you can use the ExecuteTemplate method as shown:
This method allows you to assign properties dynamically via a template expression, which is especially helpful for properties that aren't directly accessible through standard Cicode calls (properties with one or more parameters).