Copy a vcBehaviour object from one to another component

Forum Forums Visual Components 4.0 Python Programming in VC Copy a vcBehaviour object from one to another component

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by ImHolms ImHolms 4 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12275
    Avatar
    PatrickGroeller
    Participant

    Hi there,

    I was wondering if there is a possibility to add vcBehaviour objects to an existing component?

     

    Thanks in Advance!

    Patrick

    #12417
    ImHolms
    ImHolms
    Participant

    Hello Patrick,

     

    Yes that is possible to do with Python, but you require to have VC Professionals to do it.

    For example in a vcScript after you get a handle of a vcNode.

    beh1 = node.createBehaviour(type,”Name”)

    You can find more info in the VC help document (F1). Check the vcNode class, which contains the method createBehaviour for more information

    BR,

    Holms

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.