Hi, Alberto.
It looks like this might be a Window-Eyes bug. I'll make a note of it.
In the meantime, let the OnChildClipRendered event be a trigger to go
get the Clips collection for the window you're interested in. It appears
that you can modify the FontStyle in the clips collection.
Thanks,
Aaron
On 2/11/2014 4:02 AM, Alberto Zanella wrote:
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
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.