Re: What types to return in accessibilityAttributeValue?
Re: What types to return in accessibilityAttributeValue?
- Subject: Re: What types to return in accessibilityAttributeValue?
- From: Felipe Monteiro de Carvalho <email@hidden>
- Date: Sat, 17 Mar 2012 21:26:36 +0100
Thanks, this helped me get going =)
One more issue in this routine:
function TCocoaAccessibleObject.accessibilityAttributeValue(attribute:
NSString): id;
To check what attribute is passed should I simply use = and suppose
everyone will use the standard constants? Like this:
if attribute = NSAccessibilityRoleAttribute then
Or should I make a full text comparison to check the string values? Like this:
if attribute.caseInsensitiveCompare(NSAccessibilityRoleAttribute) =
NSOrderedSame then
thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden