PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → ActiveX and returned objects
ActiveX and returned objects
Iniciado por guest, 12,mar. 2015 17:06 - 2 respuestas
Publicado el 12,marzo 2015 - 17:06
Hi all.
Did someone have a deal with ActiveX object and returning objects? For example, there is a method CreateBox that returns the object (created box). In C# it would looks like:
SomeLib.Box box = CreateBox(...) box.Text = 'My Box'
What about WinDev in this area?
Publicado el 12,marzo 2015 - 19:57
Arekusei
you need the "dynamic" keyword for that.

box is object automation dynamic
box = Createbox(...)
box>>Text = "My box"

or maybe
box.Text = "My box"
I'm not sure about that
Publicado el 13,marzo 2015 - 07:48
Quote
Arie Mars

you need the "dynamic" keyword for that.

box is object automation dynamic

box = Createbox(...)

box>>Text = "My box"
Yes. You are right. <img src="/NG2013_WEB/ui/smiley/1.gif" align=absmiddle border=0 alt=":)"> After request the question I still found the information about automation type. In any case thank you.