| To: | REALbasic Betas <realbasic-betas at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Dynamically created control classes |
| From: | Eric Harris-Braun <eric at glassbead dot com> |
| Date: | Wed, 29 Jan 2003 15:14:40 -0500 |
eric at glassbead dot com wrote:In the new compiler it is legal to dynamically create an instance of a class that inherits from a control, but how does one go about associating that control with a window?You don't. It's legal only because the compiler can't really stop you. The resulting object is not and can never be a "live" control on a window. If you want to make a new control at runtime, you must "clone" it from a control array. I've just discovered that there's this nice property "window" in RectControl. How about letting us set that on the fly! -E -- ______________________________________________________________________ Eric Harris-Braun eric at glassbead dot com Glass Bead Software http://www.glassbead.com --- A searchable archive of this list is available at: <http://support.realsoftware.com/KBDB/search.php> Unsubscribe: <mailto:realbasic-betas-off at lists dot realsoftware dot com> Subscribe to the digest: <mailto:realbasic-betas-digest at lists dot realsoftware dot com> . |
| Previous by Date: | MD5 Question, Brad Rhine |
|---|---|
| Next by Date: | Re: Dynamically created control classes, Will Leshner |
| Previous by Thread: | Re: Dynamically created control classes, Mars Saxman |
| Next by Thread: | Re: Dynamically created control classes, Will Leshner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |