613-518-1166 info@zimdatabases.com

ZIM Language Reference

$ObjSetProperty

< All Topics

$ObjSetProperty

Set the properties of an ActiveX object.

Syntax

$ObjSet[Property] (Object, PropertyName, <>)

Parameters

Object

an object variable or formfield of type OLE

PropertyName

a string or an expression that evaluates to a string

PropertyValue

one or more strings, expressions or variables

Return Value

Returns a result of TRUE if successful.

Comments

This syntax can be used to set basic or extended properties of an ActiveX component.

Example

Assume you have a form called treeview with a treeview component on it called tree.

Assume vResult is a variable of type char 1. The syntax to direct the Treeview component to display lines among sibling nodes, parent nodes and the root node is

let vResult = $ObjSetProperty (treeview.tree, ‘linestyle’, 1)

 

See Also

Adding Component Objects to Zim Forms

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents