Hi All,
I've a trouble developing an App for Eclipse to mark with braille
attributes (dots 7 and 8) an error or a Warning.
My conceptual approach is relatively easy and follows:
1. Set in Eclipse (using the option Annotation) to highlight in
different colors (say color A and B) errors and warnings respectively.
2. In this situation, when I hit ctrl+canc over an error the speech says
A as background color and the same with a warning for color B.
3. Now I have to modify clips with color A and color B and set, let's
say, clip.FontStyle = 8. Then I perform a
Dim brl : Set brl = Braille
brl.Update()
By this, if I select in the attributes rotor Bold, the text of
warning/error will be marked correctly.
Ok, next step? Do this automatically using events.
Here is my problem. My first attempt was to use OnChildClipRendered and
then to modify the Clip returned by the event. Unfortunately it doesn't
work, probably because the clip passed is static. When I try to do
clip.FontStyle = 8
and then I try to
Speak clip.FontStyle
it speak Zero, so it doesn't assign correctly.
How do I have to proceed?
Any hint?
Thank you for your help,
Cheers,
Alberto