The problem I'm seeing when I use this technique is that Revolution no longer 
pays attention to the "hard column stops" in the table field object when I 
start using the HTMLTEXT method.? 

When I just use the native Revolution table-field object, I can set the 
tab-stops to a certain width, and my data in each column never runs into the 
other columns.? The minute I start using the HTMLTEXT method, it appears that 
Revolution stops paying attention to it's native tab-stops, and data that 
over-runs a column no longer gets "cropped", but bleeds into the columns to 
it's right.

I suppose I could start heading in the direction of embedding a browser into 
Rev to get this text-field functionality, but at that point, I might as well 
just do the whole thing as a web-site.

- Rob



 


 

-----Original Message-----
From: Jim Ault <[EMAIL PROTECTED]>
To: How to use Revolution <use-revolution@lists.runrev.com>
Sent: Mon, 26 Nov 2007 12:54 am
Subject: Re: How to get PHP to pass colored text to RTF text in Revolution?










you want the 

HTMLText property,  in the dictionary.

 Important!  The HTMLText property uses a tag structure that is HTML-like,
but is not completely standard HTML, in order to accommodate the full range
of text styling available in Revolution.

thus
set the htmltext of fld "dataTbl" to theStringSentFromPhp

Jim Ault
Las Vegas

On 11/25/07 8:05 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> I have php code from my server passing data into a rich-text field in a
> standalone Revolution stack.? Presently, it does it something like this:
> 
> put URL "http://urltomyserver/getdata.php"; into field "rtfoutput"
> 
> This is a text field which is set up as a table with columns.
> So far, this works well for me, but now I need the text field to have
> different colored text data for some of the columns in this text field.
> 
> The only way I can think to do this is to do something like has the PHP code
> pass data to revolution for the field like:
> 
> <?php
> echo "<rtfcode for green>This text is green<rtfcode for red>and this text is
> red in the same column.";
> ?>
> but I have no idea what would need to get passed to do such a thing.?
> 


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



 


________________________________________________________________________
More new features than ever.  Check out the new AOL Mail ! - 
http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to