Yeah,

I've often wished that I could create a new class based on an existing control instance, but unfortunately it's just not possible.

You need to cut and paste all your methods/constants/properties etc into a new class object.

- Tom

On 12/02/2007, at 8:17 PM, Sven E Olsson wrote:


Hi list,

I have and use a very complicated EditField on a Window, I do a lot of call to that from elsewhere in my code.

I now need to have a Preference setting in my Preferences to set scrollbarHorizontal YES/NO


1 - I try to create a new class from my old EditFiled, but this looks not to work (can't make a class from the old EditField) 2 - My idea was to create two EditField classes and then use one of those when I create the document window in the fly.


Any ideas?
Regards from Sweden..

Sven E
-----------------------
REALbasic 2007R1 OS X 10.4.8 Intel and 10.4.6 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to