From: IVES,THOM (HP-Boise,ex1) <tho...@hp...> - 2002-08-02 14:32:18
|
Bruce's answer begins to answer my question in part, but I need to know how, in the user-created-class itself, you get the objects to become part of the overall frame. In the pre-existing classes, one simply puts frame = "framename" in the creation line for the object. What statements must be put in a user created class to add the object to the "framename" frame? Thom -----Original Message----- From: Bruce Sherwood [mailto:bas...@un...] Sent: Thursday, August 01, 2002 8:09 PM To: IVES,THOM (HP-Boise,ex1); Visual Python Users (E-mail) Subject: Re: [Visualpython-users] Frames in User Created Classes... There isn't a way in Visual to move an existing object into a frame. You have to create the object in the desired frame. So your "3" has to come first, I believe. This is true for Visual's built-in objects, and would be true for yours as well, presumably. Bruce Sherwood ----- Original Message ----- From: "IVES,THOM (HP-Boise,ex1)" <tho...@hp...> To: "Visual Python Users (E-mail)" <vis...@li...> Sent: Thursday, August 01, 2002 2:40 PM Subject: [Visualpython-users] Frames in User Created Classes... > Does anyone have experience with the following: > > 1) You have created a new class for visual python using faces to draw new > shaped objects. > > 2) You write a program that creates several instances of these objects. > > 3) You now want to add all of these instances to a common frame. > > How do you set up the classes in 1) such that the objects in 2) will all be > part of this same frame proposed in 3)? > > Thom > > Thom Ives > Work: HP, PSB, 11413 Chinden Blvd. MS 400, Boise, ID 83714 > Voice: (208) 396-6880, Fax: (413) 332-6558 > E-mail: tho...@hp... > Home: 5556 N Columbine Pl., Boise, ID 83713 > Voice: (208) 938-9357 > E-mail: tw...@bi... > > > |