At 7:53 PM -0600 2/28/05, Joseph Claeys wrote:
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").
StyledText is a class. That window with the property name/value
listbox is an object viewer, but there is no a priori reason why any
class has to have any debuggable properties. In this case, it has
none. That does not mean anything except that it has no debuggable
properties.
So even after reading the docs I'm unclear as to what the styledtext is
suppose to contain.
It contains things which you can get access to via the methods and
properties listed in the Language Reference. (In particular, it
contains a set of StyledTextRun objects IIRC, though there are
methods that let you ignore these and set style on a range of the
text directly.)
I thought it would have text values and the subsequent
style data listed in the listbox but that's not what I'm seeing.
True. Now you know better. :)
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|