• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Counting children of menubar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting children of menubar


  • Subject: Re: Counting children of menubar
  • From: Guy Fullerton <email@hidden>
  • Date: Tue, 05 Nov 2002 10:42:32 -0800

On 11/5/02 3:44 AM, "Bill Cheeseman" <email@hidden> wrote:

> The only other problem I experienced may be one of documentation rather than
> code. I'm not sure which AXError code I should expect to see in various
> specific situations, so I'm not clear on how best to use them. The only
> example I have for you is my need to bullet-proof the getting of an
> attribute's value. The problem is that (1) a particular UIElement might not
> implement a particular attribute, but (2) it might implement the attribute
> but not provide a value for it (or not all the time). For example, the
> horizontal scrollbar attribute of a browser apparently exists as an
> attribute even though it doesn't have a value if the particular browser
> doesn't have its horizontal scrollbar turned on. In such a case, is the
> expected error kAXErrorNoValue, kAXErrorNotImplemented, or
> kAXErrorAttributeUnsupported? In scenario (1) I would expect
> kAXErrorAttributeUnsupported, but kAXErrorNotImplemented would make equally
> good sense -- what's the difference between them? In scenario (2) I would
> expect kAXErrorNoValue, but that's not what I got (I've forgotten for which
> UIElement and attribute).

Please write up a bug; we can certainly make the documentation better.

Off the top of my head, I don't even remember which error codes are supposed
to cover which cases.
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Counting children of menubar (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Counting children of menubar
  • Next by Date: Re: Counting children of menubar
  • Previous by thread: Re: Counting children of menubar
  • Next by thread: Re: Counting children of menubar
  • Index(es):
    • Date
    • Thread