main logo
Subject: Re: Reassign a class to another one
Author: Ed Leafe
Posted: 2006/06/30 09:50:41
 
View Entire Thread
New Search


On Jun 30, 2006, at 10:43 AM, David Crooks wrote:

> I obliviously wasn't very clear. I have a form with a textbox that is
> using a class. Now I want assign it to another class that is read-
> only.
> Unfortunately, the class property is read-only so I need a way around
> it. Thanks!

Textboxes don't "use" a class; they are created from that class.
That's why the Class property is read-only, since it's already happened.

You'll have to create another textbox from the new class, and then
assign any modified props to that new object, and then destroy the
original object.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com






 
©2006 Ed Leafe
<-- Prior Message New Search Next Message -->