realbasic-nug
[Top] [All Lists]

Re: HTML

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: HTML
From: Jeff <jeff at applekore dot net>
Date: Wed, 27 Feb 2002 17:20:20 -0800
On 2/26/02 4:12 PM, "Joel Rosenblum" <pyropostal at mac dot com> wrote:

>> I have several applications that would use HTMLField or WASTE to simply
>> handle styled text (to manage HTML) but they will not work on Win32
>> built
>> apps without a great deal of extra work.
> 
> Well, until RS comes through for you, I've already done the work of
> abstracting you from the platform dependent nature of style data.
> Download the class suite at
> http://homepage.mac.com/pyropostal/code/styledata_xplat.sit
> 


Thanks! There is one problem though.  I get an error on this line:
OSTypes.append me.cachedPtr.OSType( pos )

It's in ClipboardEx:BackupData.  The error is "Unknown identifier 'OSType'".
Do I need certain plugins, or a specific version of RB to run this?

Also, about the background stuff.  I've verified that the original example I
found works in OS 9.  Do you mean the saving of the clipboard won't work in
the background or the actual appending won't work?

I think I've found a better solution though.  WASTEField looks very
promising.  I haven't exactly tested it yet, but it looks like you can
append styled text pretty easily with it.



<Prev in Thread] Current Thread [Next in Thread>