[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
Re: [Virtools] sending message with bound data with activeX
- Subject: Re: [Virtools] sending message with bound data with activeX
- From: "Nicolas Galinotti" <nico@virtools.com>
- Date: Wed, 10 Jan 2001 12:08:25 +0100
Hi you can not attach datas to a message sent thru
the AX methods.
But you can set
attributes values on object and use it in your scripts.
For example :
obj = NeMoAX1.GetObjectID("objName")
Call NeMoAX1.SetAttribute(obj, "Data1",
"DataValue")
Call NeMoAX1.SetAttribute(obj, "Data2", "123.45")
Call NeMoAX1.SendMessageToObject(obj, "Go")
----- Original Message -----
Sent: Wednesday, January 10, 2001 8:40
AM
Subject: [Virtools] sending message with
bound data with activeX
Hello,
I am
trying to send a message to an object that has bound data. I want to
send
two or more parameters for a script attached to the object.
Can this
be done? How?
Below is functioning VB code for a simple command button
to send a message to
an object contained in a scene [NeMoAX1].
What is the syntax for binding data to the message?
Thank you,
Rob
----------- Visual Basic code
Private Sub
CommandButton1_Click()
obj = NeMoAX1.GetObjectID("objName")
Call
NeMoAX1.SendMessageToObject(obj, "Go")
End Sub
References: