At 2:30 PM -0600 2/28/05, Joseph Claeys wrote:
Is it possible for an entire object to obtain all the properties and
features of another object?
Yes, if you write code that does that... Otherwise, no.
So am I left with individually 'moving' each property
that I want?
Yes.
I'm not real familiar with styled text (the genesis of "why" I
want to do this). I I'm just looking for the easiest path to moving it from
one editfield to another without loosing the style...
Well, I'm confused about whether you want to copy the EditField
properties (like Left, Top, ReadOnly, etc.), or the styled text
contents. In the latter case, you can just do EditField2.StyledText
= EditField1.StyledText. In the former case, you'd have to copy each
property individually.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|