Results 1 to 1 of 1

Thread: Cross accessing properties between ocx **RESOLVED**

Threaded View

  1. #1

    Thread Starter
    Addicted Member Aldragor's Avatar
    Join Date
    Oct 2002
    Location
    Québec, Canada
    Posts
    140

    Question Cross accessing properties between ocx **RESOLVED**

    I created a component who is a graphical representation of a tube. I also created props to specify the anchors point (or control handle). I want to put two component like this on a form in design time and when draging (mostly stop draging) one component near the other a sub will calculate if two anchors are enough close, then the component will dock (move) at the right place.

    So, I first look to access the properties of other components in the same form.

    If you have any ideas, I'm open to suggestions.


    **RESOLVED**

    I have to use

    UserControl.Extender.Parent.Controls

    which is a collection of control
    Last edited by Aldragor; Oct 11th, 2002 at 02:14 PM.
    Mens sana in corpore sano
    ... pour mieux travailler!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width