realbasic-nug
[Top] [All Lists]

RE: object=object

To: "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: object=object
From: "Joseph Claeys" <techmail at psychjoe dot com>
Date: Mon, 28 Feb 2005 19:53:15 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Organization: Psychjoe
Thread-index: AcUd+JR54niooGCBStGMnvjBONg2uAAB2gKw
Well I rave about RB and I have the M$ IDE.  I'm ranting now but that's more
directed at myself.  When I look at the original editfield (it definitely
has styled text in it) the debugger shows text in the text property, the
font and some unreadable (presumably meaningful) information in the
textstyledata property, and nothing in the styledtext property (an empty
listbox with two column headers - "name" and "value").  

So even after reading the docs I'm unclear as to what the styledtext is
suppose to contain.  I thought it would have text values and the subsequent
style data listed in the listbox but that's not what I'm seeing.  I can't
help but think that I'm missing something really obvious (only because I've
been in jams like this before only to find that I was ignoring something
obvious).

I'm not sure I understand your last comment (probably related to my
misunderstanding of style).  I figured it was the same as saying
editfield1.text=editfield1.text.

~joe 

-----Original Message-----
From: realbasic-nug-bounces at lists dot realsoftware dot com
[mailto:realbasic-nug-bounces at lists dot realsoftware dot com] On Behalf Of 
Andy Dent
Sent: Monday, February 28, 2005 6:48 PM
To: REALbasic NUG
Subject: RE: object=object

>"Why not?  Seems to me that's exactly what it does." Best, - Joe
>
>I don't know why not.  In the debugger the styledtext is always empty.

the Windows debugger has been known to not show values, try resizing the
debugger window. There was a thread a while back about the Windows IDE in
general and I've had a recent reminder where a very experienced friend who
was helping for a while (on Windows) said "I can't see why you rave about
RB". I spent a while using the Windows IDE and realised how much worse the
debugger is than the Mac.

>StyleField.styledtext=jp.TagReplace(StyleField,"<<(.*)>>",FieldValues).
>style
>dtext
I'm a bit bothered by you assigning back to the styled text in the same
operation - try copying it to another styled text first.

Andy
_______________________________________________
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>



_______________________________________________
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>

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