realbasic-nug
[Top] [All Lists]

EditField - How can I know when the user changed the text color ?

To: "NUG REALbasic mailing list [Digest]" <realbasic-nug at lists dot realsoftware dot com>
Subject: EditField - How can I know when the user changed the text color ?
From: Emile SCHWARZ <emile dot a dot schwarz at wanadoo dot fr>
Date: Sun, 31 Dec 2006 13:16:53 +0100 (CET)
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi all,

REALbasic 2006 Release 4
Mac OS X 10.4.8

The subject question is a bit "short":

EditField: where can I know the user changed the text color ?

Because I want to know too "when the user changed the TextFont, TextSize and 
probably other stuff"!

At last, and for the moment (ouch 00:32 in the heart of the night!), after 
selecting a line (I get a report for that), my EditField does not make any 
report when I set:

Bold,
Italic,
Underline,
Color (a Red, marasquin in French),
a TextFont (Arial Black),
a TextSize (18).

I put in EditField .TextChange:
   Speak "Text",False


and in EditField .SelectionChange:
  Speak "Selection",False


I was expecting that one, the other or even both (why not, be fool, it is 
time!) make a report of my _SELECTION_ change, but no, my nightbor can sleep 
nicely, not a word!

Back to a serious sentence: is this normal behavior (being able to change the 
text selection properties without any report from the EditField) ?

If so, I have to ask for a refresh ? No, this can't be so.

But from where do I know a change have been done ?
[from the place I set the styles ? A lot of code to add isn't it ?
Oh I think I will get a solution by tomorrow - in my sleep - probably]

Thanks for sharing your opinions,

Emile
_______________________________________________
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>
  • EditField - How can I know when the user changed the text color ?, Emile SCHWARZ <=